Adduser and /etc/passwd

Matthew Flaschen matthew.flaschen at
Wed Aug 15 00:38:51 UTC 2007

Lev Lafayette wrote:
> Now contrary to what /etc/password suggests there is no /home/vacation
> directory and there is certainly no way that the vacation user will ever
> login to use bash but still....

If you want to be sure they can't login, change the shell to /bin/false

sudo chsh -s /bin/false vacation

Matt Flaschen

More information about the ubuntu-users mailing list