- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change 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
Forums
Discussions
Discussions
Discussions
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
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
11-09-2004 07:12 PM
11-09-2004 07:12 PM
It is a newbie question. I try to search but I cannot get the answer.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:15 PM
11-09-2004 07:15 PM
Re: Change password
It's a security thing.
It's only possible for root user. If the system is trusted, it is not possible for even root user. But root can edit root's tcb file to remove the encrypted password.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:23 PM
11-09-2004 07:23 PM
Re: Change password
While I was in the middle of changing the root password. I got interrupt by a call.
When I tried to test what I had changed I totally forgot it. I still had my root session open. I tried to change password again and it kept asking me the old one.
I didn't know what to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:29 PM
11-09-2004 07:29 PM
Re: Change password
Do you still have the root session open?. If so, then I believe your system is trusted. Edit the file /tcb/files/auth/r/root and delete the encrypted string and then use 'passwd' to change it. If it is not trusted, then edit /etc/passwd and delete the encrypted string (second field) corresponding to root.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:33 PM
11-09-2004 07:33 PM
SolutionIf you don't have a root session open, then you have to boot the system in single user mode and do the above process. It will allow you to login as root in single user mode unless the system is trusted and if you disabled that option.
If you have any management clients like OVO, Tivoli etc., you can be able to push a script that does the job for you from the management station. If you have any backup software configured, you can do one more thing. Take backup of the current /etc/passwd or /tcb/files/auth/r/root file and restore old files from yesterday or so. You can specify a pre_exec scripts to take a backup on the system itself. Once you can login, restore them back.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:35 PM
11-09-2004 07:35 PM
Re: Change password
Thanks for your helpful info.
tomk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 07:36 PM
11-09-2004 07:36 PM