author | Linus Torvalds <torvalds@osdl.org> | |
Sun, 23 Oct 2005 21:30:45 +0000 (14:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 24 Oct 2005 22:12:41 +0000 (15:12 -0700) | ||
commit | 35eb2d36418a25f9e956b116a622d8d99f4abad9 | |
tree | 2ada0cb8fce070b6b2c56fa689791230636f1857 | tree | snapshot |
parent | 38cc7ab8144e111b47ac0ad3fcf6cb70d546e473 | commit | diff |
Add git-shell.
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.
[jc: I updated Linus' patch to match what the current sq_quote()
does.]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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.
[jc: I updated Linus' patch to match what the current sq_quote()
does.]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
quote.c | diff | blob | history | |
quote.h | diff | blob | history | |
shell.c | [new file with mode: 0644] | blob |