Operating System - HP-UX
1836303 Members
1666 Online
110099 Solutions
New Discussion

Reassign the previous to the user after passwd expiration

 
Muttikkal_1
Occasional Contributor

Reassign the previous to the user after passwd expiration

My user passwd has been expired and promted to change to the new passswd.But i want to use the same passwd,but the server not allowing me to change it to old passwd that i have used last 7 times ( last seven passwd that i have used , icannot use again ),because of passwd policy set in the system.Os using is 11.23 and it is trusted system
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: Reassign the previous to the user after passwd expiration

If you are a super-user then execute /sbin/passwd rather than passwd and you can reuse a password regardless of the PASSWORD_HISTORY_DEPTH setting in /etc/default/security. You can also comment out this line and then use the passwd command. If you are not a super-user then you are attempting a security policy violation ---- and even if you are a super-user while you can out-bushwhack the restriction you are probably violating company policies.
If it ain't broke, I can fix that.
Jaime Bolanos Rojas.
Honored Contributor

Re: Reassign the previous to the user after passwd expiration

Muttikkal,

You can learn more about this topic at this link:

http://www.faqs.org/faqs/hp/hpux-faq/section-69.html

Regards,

Jaime.
Work hard when the need comes out.
whiteknight
Honored Contributor

Re: Reassign the previous to the user after passwd expiration


Also see "Administering a System: Managing System Security" at: [http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html]
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
-> Managing Trusted Passwords and System Access
scroll to: Password Selection and Generation

PASSWORD_HISTORY_DEPTH
This parameter controls the password history depth. A new password is checked only against the number of most recently used passwords stored in password history for a particular user. A user is not allowed to re-use a previously used password


# more /etc/default/security
MIN_PASSWORD_LENGTH=7
PASSWORD_HISTORY_DEPTH=7

WK

Problem never ends, you must know how to fix it
Muttikkal_1
Occasional Contributor

Re: Reassign the previous to the user after passwd expiration

Thanks all...