Skip to content
  • Linus Torvalds's avatar
    Add git-shell. · 35eb2d36
    Linus Torvalds authored
    
    
    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: default avatarLinus Torvalds <torvalds@osdl.org>
    Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
    35eb2d36