- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- go back to previous root password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2009 09:16 AM
тАО12-30-2009 09:16 AM
Last week, I fat-fingered the root password several times and locked myself out, completely. No other avenue of approach.
So, rebooted single-user, tweaked /tcb/file/auth/r/root setting the password field empty.
Did /usr/sbin/passwd and set the new root password.
Rebooted and everything works. Fixed. Not.
Now, I come to find out (new to the job and environment) that the root pass must stay as it was.
The problem, when I try to set it back to what it was 4 days ago, it tells me I can not use a previous passwd. I know, in 99% of the cases, one should change the root pass periodically. But, suffice it to say, it this case, we have good reason for needing to keep it the same.
So, I've looked at /etc/pam.conf and /etc/pam_user.conf and I can find nothing that is enforcing the 'no previous passwd' rule.
What is enforcing this rule?
How do I get back to where I was last week?
No, we do not have a dependable backup. Otherwise, I'd have been restoring from tape.....
Coming from a linux background more than HPUX, I may be making some newb mistakes. Any advice on strategy or process would be greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2009 09:41 AM
тАО12-30-2009 09:41 AM
Solutionhttp://docs.hp.com/en/B2355-60130/modprpw.1M.html
Some other threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1392515
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1375432
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1374959
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1362478
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1359320
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1357653
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1300251
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1281359
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2009 10:20 AM
тАО12-30-2009 10:20 AM
Re: go back to previous root password
The easy and best option is restore the below file from backup tape.
/tcb/files/auth/r/root
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2009 11:39 AM
тАО12-30-2009 11:39 AM
Re: go back to previous root password
'Got it straightened out.
It is not clear via the SAM interface how to modify the PASSWORD_HISTORY_DEPTH rule. So, I went to /etc/default/security', set that param to 1. Then used SAM to reset root's password. (Probably would have been quicker at the command line.) Then, put /etc/default/security back the way it was.
All is good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2009 11:40 AM
тАО12-30-2009 11:40 AM
Re: go back to previous root password
See the post above for my resolution of the problem.