cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/tmux
/usr/bin/screen
$ which git-shell
/usr/bin/git-shell
$ sudo nano /etc/shells (add /usr/bin/git-shell)
$ sudo chsh git -s /usr/bin/git-shell
No comments:
Post a Comment