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

m
modprpw(1M) modprpw(1M)
Set whether null passwords are allowed, YES
/NO/DFT. YES is not recom-
mended!
n/a database u_pwchanger . Obsolescent field.
admnum=value database u_pw_admin_num
. Obsoleted field.
syschpw=value database u_genchars .
Set whether system generates passwords having characters only,
YES/NO/DFT.
sysltpw=value database u_genletters .
Set whether system generates passwords having letters only,
YES/NO/DFT.
timeod=value database u_tod.
Set the time-of-day allowed for login.
The format is:
key0Starttime-Endtime, key1Starttime-Endtime,...
keynStarttime-Endtime
Where key has the following values:
Mo -Monday
Tu -Tuesday
We -Wednesday
Th - Thursday
Fr -Friday
Sa -Saturday
Su - Sunday
Any -everyday
Wk - Monday -> Friday
and Starttime and Endtime are in military format: HHMM,where:
00 <= HH <= 23, and 00 <= MM <= 59.
n/a database u_suclog.
n/a database u_unsuclog .
n/a database u_suctty.
n/a database u_numunsuclog.
n/a database u_unsuctty .
umaxlntr=value database u_maxtries .
Set Maximum Unsuccessful Login tries allowed. 0 = infinite.
alock=value database u_lock.
Set the administrator lock,
YES/NO/DFT.
-n Can be specified with or without domain name; i.e., -n [domain]. If -n [domain] is specified,
modifies data for the NIS+ user. The domain name must be fully qualified, with a terminating period.
If domain name is not specified, the local domain will be used.
It cannot be specified with the -l option. This option must be specified with other options.
-V This option is specified WITHOUT a user name to "validate/refresh" all user’s passwords. It goes
through the protected password database and sets the successful change time to the current time for
all users. The result is that all user’s password aging restarts at the current time.
May be combined with one of -l or -n options.
-v This option is specified with a user name to "validate/refresh" the specified user’s password. It sets the
successful change time to the current time.
May be combined with options -l, -m, -n.
-x Delete the user’s password and return a random password that the user must later supply to the login
process to login and pick a new password. Not valid for root. Also resets locks.
HP-UX 11i Version 1: September 2005 3 Hewlett-Packard Company Section 1M505