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

/etc/shells policy?



[I am CCing passwd@packages.debian.org as I am not sure if the maintainer
is subscribed to debian-policy]

Hi,
there is an "oldish" bug report open on tcsh that complains about tcsh not
deleting it's own entry from /etc/shells upon removal from the system.

http://www.debian.org/Bugs/db/16/16072.html

Now, in my system I seem to have any imaginable shell included in that file,
which belongs to the passwd package.

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.

In any case, I don't feel strongly in favour of any solution but would really
like to know how to deal with this report.

Thanks,
Luis.
-- 
Luis Francisco Gonzalez <luisgh@cogs.susx.ac.uk>
PGP Fingerprint = F8 B1 13 DE 22 22 94 A1  14 BE 95 8E 49 39 78 76


Reply to: