/etc/shells does not contain /bin/csh as a valid login shell. Few people probably use csh, but I have to at my work. Very difficult to track this down since "telnet-bsd" would let me login, but ssh would not. Either csh should be added to /etc/shells in every case, or just after installing csh. Reproducible: Always Steps to Reproduce: 1. Install csh 2. chsh to /bin/csh 3. ssh into box Actual Results: Permission denied. (It would be nice if ssh was helpful and said, your shell isn't valid)
your right, i asked it to be added about a month ago, i'll remind him. assigning to self.
azarah, any comments?
I think it should only be added if a csh is installed. I know *I* don't want to have to remove /bin/csh from /etc/shells on every install if it were part of baselayout.
I have no problem with that approach, but the current method appears to be "add all available shells to /etc/shells, installed or not", if thats going to change, its cool with me.
I think it would be nice if it was put in /etc/shells when installed. Mr. Bones, since you "harden" your box by taking this out, do you currently take out other shells? Maybe this would be just one more ^K (in emacs). For instance I don't have zsh, but it's in my /etc/shells.
Oh, it's certainly not about the work involved, although, I supposed if I had a large number of computers it would be a little annoying to have to take it out of each /etc/shells. I like to be do as little configuration by hand as possible and if /etc/shells were maintained by the shell ebuilds as they were merged/unmerged I think it would be great.
Sorry - was MIA for a bit. Added in CVS, new baselayout in a bit.