1753936 Members
10014 Online
108811 Solutions
New Discussion юеВ

MODPRPW Question

 
SOLVED
Go to solution
rmueller58
Valued Contributor

MODPRPW Question

We are defining a policy to reset passwords for a particular group of users.

I've written a script that does the trick to expire the password, I want to set the password like to 120 days..

Which -m value do I use to Define the length of time a password is allow, and what can be done to force the change from that 120 day point?

while read UUNAME X
do
/usr/lbin/modprpw -e ${UUNAME}
done < /tmp/esupass2.txt
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: MODPRPW Question

Hi:

See:

http://docs.hp.com/en/B3921-60631/passwd.4.html

...the section titled "Password Field" describes the age criteria for the "classic" '/etc/passwd' file.

Regards!

...JRF...
rmueller58
Valued Contributor

Re: MODPRPW Question

JRF this is trusted HP/UX..
James R. Ferguson
Acclaimed Contributor

Re: MODPRPW Question

rmueller58
Valued Contributor

Re: MODPRPW Question

Looks like min time.
mintm=value

database u_minchg=(value*86400).

Set the minimum time interval between password changes (days). 0 = none. Same as non-trusted mode minimum time.
Tingli
Esteemed Contributor
Solution

Re: MODPRPW Question

Shouldn't it be exptm=value
rmueller58
Valued Contributor

Re: MODPRPW Question

tingli,

Truthfully that looks like a better thing.