Re: Account password lifetime is only 2 weeks (260 Views)
Reply
Frequent Advisor
sbrews
Posts: 36
Registered: ‎07-17-2012
Message 1 of 5 (434 Views)

Account password lifetime is only 2 weeks

I have a system where the password on your account expires after 2 weeks.  I have tried making adjustments to the password lifetime via sam and in /etc/default/security.  However, no matter what I do, the pw still expires after 2 weeks.  Is there something else that needs to be updated?  if so, what/where?

 

 

Acclaimed Contributor
Dennis Handly
Posts: 25,183
Registered: ‎03-06-2006
Message 2 of 5 (401 Views)

Re: Account password lifetime is only 2 weeks

[ Edited ]

Are you using Trusted Mode?

If using the default, what does the /etc/passwd entry show?

Instead of two weeks, how long did you want it?

Frequent Advisor
sbrews
Posts: 36
Registered: ‎07-17-2012
Message 3 of 5 (309 Views)

Re: Account password lifetime is only 2 weeks

Trusted mode doesnt appear to be in use... however, I did inherit this system and those that I inheritted it from are no longer available. 

 

I see that there is a /etc/default/security file.  I have updated the PASSWORD_MAXDAYS to 90, but that doesnt seem to be what is controlling the 2 week expiration.

 

Ideally, the pw lifetime should match or be as close to my other system as possible - and that is 90 days.

Honored Contributor
Bill Hassell
Posts: 14,209
Registered: ‎05-29-2000
Message 4 of 5 (301 Views)

Re: Account password lifetime is only 2 weeks

Changing the security file does not change any current settings. The security file will set the default value when the user (or root) changes the password. To change the user now, use /usr/lbin/modprpw to adjust the current value.

Frequent Advisor
sbrews
Posts: 36
Registered: ‎07-17-2012
Message 5 of 5 (260 Views)

Re: Account password lifetime is only 2 weeks

I had totally forgotten about modprpw... however, the system is not a trusted system, so modprpw has no affect.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.