Operating System - HP-UX
1753569 Members
5700 Online
108796 Solutions
New Discussion юеВ

Re: How to reset Password History?

 
SOLVED
Go to solution
Kevin Lai_1
Occasional Advisor

How to reset Password History?

I am running HP-UX B.11.23 (ia64) secured trusted system.

How can I reset my password history while maintain the security setting?

Is there any adverse impact if I remove the files in the /tcb/files/auth/system/pwhist subdirectory?

Thanks
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: How to reset Password History?

Do not remove the files.

Back them up.

Then emtpy them one at at time and test functionality.

Empty

> filename

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Devesh Pant_1
Esteemed Contributor

Re: How to reset Password History?

Kevin,
make the PASSWORD_HISTORY_DEPTH=0
in your /etc/deafault/security instead of touching anything under the /tcb/files/auth

thanks
DP
Ermin Borovac
Honored Contributor
Solution

Re: How to reset Password History?

Patch PHCO_29249 has the following note:

Resolution:
Modified libpam_unix.1 to ignore one-character encrypted
passwords. This prevents additional corruption of the
password history database, but does not repair an already
corrupted database. To repair a corrupted password history
database it is necessary to remove each file in
/tcb/files/auth/system/pwhist which has a corrupted user
entry, or to remove all files in that directory. This
destroys the password history maintained in those files.
It does not affect the current passwords.

This leads me to conclusion that you can remove the files in /tcb/files/auth/system/pwhist to reset password history.