[Pkg-shadow-devel] Manpage Review (for Tomasz)
Christian Perrier
bubulle at debian.org
Sat Jan 21 16:53:17 UTC 2006
Quoting Christian Perrier (bubulle at debian.org):
> I think that this means that en empty argument passed to "-p" will
> disable the account....
Well, not exactly...
root at mykerinos:~# userdel -r krabs
root at mykerinos:~# useradd -p "" krabs
root at mykerinos:~# grep krabs /etc/shadow
krabs::13169:0:99999:7:::
A disabled account should be like this:
root at mykerinos:~# grep krabs /etc/shadow
krabs:*:13169:0:99999:7:::
More information about the Pkg-shadow-devel
mailing list