vassilidzuba at nerim.net
Tue Feb 11 14:47:48 PST 2003
The command chsh is installed with the shadows package,
but it seems to be useless unless a /etc/shells exists.
Shouldn't the creation of /etc/shells be in the book ?
Moreover, the function getusershell(3) uses also this
file and, if it does not exist, assumes that the two shells
available are /bin/sh and /bin/csh (but not /bin/bash !).
When trying to install troll ftpd, i wasted two of three
hours before understanding that the problem that prevented
me to connect to the server was that /etc/shell was missing.
The server assumed that the /bin/bash i had in my /etc/passwd
wasn't a valid shell.
Of course, one could give the instructions to create that file
in the BLFS (if it contains some day an ftp server), but
maybe the right place is when installing shadow.
Any idea ?
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message
More information about the lfs-dev