HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

u
userstat(1M) userstat(1M)
RETURN VALUE
userstat exits with one of the following values:
0 did not find abnormal status
1 found abnormal status
2 invalid usage or user not found
EXAMPLES
The following example reports all abnormal status for all local accounts.
/usr/sbin/userstat -a
joe nullpw
mary admlock maxtries=5
The following example shows that the account for user
joe is not locked due to too many consecutive
authentication failures.
/usr/sbin/userstat -q -u joe maxtries ; echo $?
0
FILES
/etc/passwd standard password file
/etc/shadow shadow password file
/var/adm/userdb user database
SEE ALSO
authadm(1M), passwd(4), security(4), shadow(4), userdb(4).
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 585