Re: Account password lifetime is only 2 weeks (105 Views)
Reply
Frequent Advisor
sbrews
Posts: 36
Registered: ‎07-17-2012
Message 1 of 5 (279 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?

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,774
Registered: ‎03-06-2006
Message 2 of 5 (246 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?

Please use plain text.
Frequent Advisor
sbrews
Posts: 36
Registered: ‎07-17-2012
Message 3 of 5 (154 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.

Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,178
Registered: ‎05-29-2000
Message 4 of 5 (146 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.

Please use plain text.
Frequent Advisor
sbrews
Posts: 36
Registered: ‎07-17-2012
Message 5 of 5 (105 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.

Please use plain text.
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