[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/shells policy?



Luis Francisco Gonzalez <luisgh@cogs.susx.ac.uk> writes:

> The question is what should I do. AFAIK, /etc/shells is used to determine
> which shells can be used with chsh. I am not aware of any other use. I think
> it makes perfect sense that shells (un)register themselves in that file upon
> installation and in the pre-removal of the package. If the shell is used by
> some user (as shown in the /etc/passwd file) it should probably refuse to
> remove the package.

BTW, /etc/shells is also used by (at least) the FTP server; users
whose login shell is not in /etc/shells are not allowed to use FTP.

Carl Witty
cwitty@newtonlabs.com


Reply to: