Re: [PATCH] Add git-shell.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 24, 2005, 01:36 UTC
- Message-ID
- <7vek6bu24o.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0510231751040.10477@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 9 quoted lines
> On Sun, 23 Oct 2005, Junio C Hamano wrote: >> >> This adds a very git specific restricted shell, that can be >> added to /etc/shells and set to the pw_shell in the /etc/passwd >> file, to give users ability to push into repositories over ssh >> without giving them full interactive shell acount. > > Did you actually test that it works as somebody's login-shell and can be > used for pushing?
I made a temporary user on my notebook, set it as his login shell, and run peek-remote against it (which means the git-shell spawned upload-pack on the other end). No, I did not try pushing when I sent the patch
But I just did, and it seems to work, so this should hit the master branch soon ;-).