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
________________________________________________________________
___ ___
m
modprpw(1M) modprpw(1M)
May be combined with one of -l or -n options.
RETURN VALUE
0 Success.
1 User not privileged.
2 Incorrect usage.
3 Can not find the entry or file.
4 Can not change the entry.
5 Not a Trusted System.
6 Not a NIS+ user.
EXAMPLES
Set the Minimum time between password changes to 12 (days), set the System generates pronounceable
password flag to NO, and set the System generates password having characters only flag to YES.
modprpw -m mintm=12,syspnpw=NO,syschpw=YES someusr
The following example is to restrict the times that user joeblow can get on the system on Mondays and Fri-
days to 5PM-9PM, and Sundays from 5AM-9AM. Other days are not restricted.
modprpw -m timeod=Mo1700-2100,Fr1700-2100,Su0500-0900 joeblow
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. Side effects may not be apparent until much later.
Special meanings may apply in the following cases:
an absent field,
a field without a value,
a field with a zero value.
Very little, if any checking is done to see if values are valid. It is the user’s responsibility to range check
values.
FILES
/etc/passwd System Password file
/tcb/files/auth/*
/* Protected Password Database
/tcb/files/auth/system/default
System Defaults Database
AUTHOR
modprpw was developed by HP.
SEE ALSO
getprpw(1M), prpwd(4), nsswitch.conf(4).
HP-UX Release 11i: December 2000 4 Section 1M491
___
___