[Pkg-shadow-devel] Bug#293492: useradd: by default creates user
with unspecified shell, this causes problems
Daniel Kabs
daniel.kabs at mobotix.com
Tue Sep 6 14:14:30 UTC 2005
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.
More information about the Pkg-shadow-devel
mailing list