HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
u
userdel(1M) userdel(1M)
17 Cannot delete entry from /etc/passwd file.
EXAMPLES
Remove the user
otto from the system:
userdel otto
Remove the user bob from the system and delete
bob’s home directory from the system:
userdel -r bob
WARNINGS
As many users may try to write the
/etc/passwd file simultaneously, a passwd locking mechanism was
deviced. If this locking fails after subsequent retrying,
userdel terminates.
FILES
/etc/shadow Shadow Password file
/etc/passwd System Password file
/etc/group System group file
/etc/ptmp Lock file used when updating password file
SEE ALSO
passwd(1), users(1), groupadd(1M), groupdel(1M), groupmod(1M), logins(1M), useradd(1M),
usermod(1M), group(4), passwd(4), shadow(4).
STANDARDS CONFORMANCE
userdel: SVID3
Section 1M−−828 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003