HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
g
getprpw(1M) getprpw(1M)
syspnpw whether system generates pronounceable passwords, YES/NO/DFT
rstrpw
whether password is restricted, i.e, checked for triviality, YES/NO/DFT
nullpw
NULL passwords are allowed, YES/NO/DFT. Not recommended!
syschpw whether system generates passwords having characters only, YES/NO/DFT
sysltpw
whether system generates passwords having letters only, YES/NO/DFT
timeod
time of day allowed for login
slogint time of last successful login
ulogint time of last unsuccessfullogin
sloginy tty of last successful login
culogin consecutive number of unsuccessful logins so far
uloginy tty of last unsuccessfullogin
umaxlntr maximum unsuccessful login tries
alock administrator lock, YES if on, NO if off,
DFT if not set.
lockout returns the reason for a lockout in a "bit" valued string, where 0 = condition not
present, 1 is present. The position, left to right represents:
1 past password lifetime
2 past last login time (inactive account)
3 past absolute account lifetime
4 exceeded unsuccessful login attempts
5 password required and a null password
6 admin lock
7 password is a *
RETURN VALUE
0 success
1 user not privileged
2 incorrect useage
3 cannot find the password file
4 system is not trusted
EXAMPLES
Displays the database aging fields for user "someusr".
getprpw -m mintm,exptm,expwarn,lftm someusr
The command displays:
mintm=1, exptm=2, expwarn=-1, lftm=3
WARNINGS
This command is intended for SAM use only. It may change with each release and can not be guaranteed
to be backward compatible.
Several database fields interact with others. The side effects of an individual change may not cause a prob-
lem till much later.
Special meanings may apply in the following cases:
an absent field
a field without a value
a field with a zero value
AUTHOR
getprpw was developed by HP.
FILES
/etc/passwd System Password file
HP-UX Release 11i: December 2000 2 Section 1M297
___
___