It is possible to assign a shell that is not listed in /etc/shells. All I get is a warning message, for example:
Warning: "/bin/DifferentShell" is not listed in /etc/shells.
However, the shell is still changed. Is there anyway of forcing the system to only allow shells listed?
i ran strace on chsh on my system, and it shows that chsh consulted /etc/pam.d/chsh. there's a pam_shells module that can be required, and it even has a man page. my man page for chsh was typically incomplete:
|All times are GMT -5. The time now is 11:00 PM.|