Web lists-archives.com

Re: how to make sshd start a shell other than bash when I log in?

Andrew Schulman wrote:
But when I log into that same host by sshd, bash starts...
Have you tried changing your shell
(chsh if it is on your system, otherwise edit /etc/passwd
and change the shell for your username).


You will need to make sure the shell is listed
in the allowed shells file (/etc/shells).

Not sure what would be best if you don't
have a /etc/passwd... (I might add one, but
someone else may know a better way).

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple