Adduser and /etc/passwd
Lev Lafayette
lev at ivt.com.au
Wed Aug 15 00:08:44 UTC 2007
I'm adding a user to set up an autoresponder account (the one big gap in
the otherwise excellent instructions at:
https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto
Anyway, I run the standard command to establish a user with no home or
password...
adduser --no-create-home --disabled-password --ingroup vacation vacation
but in /etc/passwd there's a...
vacation:x:1001:5001:,,,:/home/vacation:/bin/bash
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....
--
Lev Lafayette
Internet Vision Technologies
Level 1, 520 Dorset Road Croydon, VIC 3136
Ph: +61 3 9723 9399
More information about the ubuntu-users
mailing list