Quoting Daniel Kabs ([EMAIL PROTECTED]):
> I can reproduce this on a Debian "sarge".
> 
> How I came across this bug:
> Using useradd to add an account for use with "vsftpd".
> 
> Consequences:
> As the shell field in /etc/passwd was empty, "vsftp" did not allow this new 
> user to log in because its shell was not listed in /etc/shells.
> 
> Workaround:
> To fix this, i ran 'useradd -D -s /bin/bash' to change the default shell for 
> new users.

To solve this bug, we actually have two solutions:

-force a default non-empty shell as proposed in the patch by
 M. Quinson


-supply a /etc/default/useradd file with at least SHELL uncommented
(and other possible variables commented)

We will very certainly do the latter. So, has anyone an objection for
us to supply /etc/default/useradd with:

SHELL=/bin/sh


Alex, this bug was assigned to you...




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to