[Pkg-shadow-devel] useradd, no loginshell set in /etc/passwd

Dirk Bangert dbangert at gmx.de
Mon Dec 26 11:49:45 UTC 2016

Hello together,

builded up a live-Linux for USB-Flashdrives based on Ubuntu 16.04 
(Xenial). Shadow-utils 4.2 are installed.
Using the useradd command, I dont get an entry for the Loginshell in 

For example:

# useradd foo
# cat /etc/passwd  | grep foo

# echo $SHELL


On former systems there was this entry. Like:

Can somebody show me a way to fix this new behavior without using the -s 
optin of useradd?

Thanks an greetings from rainy germany

Dirk Bangert

More information about the Pkg-shadow-devel mailing list