- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to bypass "Old password" prompt for root
Operating System - HP-UX
1819791
Members
3166
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-22-2004 09:11 PM
тАО11-22-2004 09:11 PM
Hi,
ok did something really stupid for a Tuesday morning .. reset the root password but it is not the password I thought I had
I have a few telnet sessions to the server but the problem is it asks for the old password when I try to change it
is there any way out of this without having go to single-user mode ?
ok did something really stupid for a Tuesday morning .. reset the root password but it is not the password I thought I had
I have a few telnet sessions to the server but the problem is it asks for the old password when I try to change it
is there any way out of this without having go to single-user mode ?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2004 09:14 PM
тАО11-22-2004 09:14 PM
Solution
Tony,
If you have a root session open, you can almost do anything.
For non-trusted system: Edit /etc/passwd file and remove the 'encrypted' password string (second field).
For trusted system: The encrypted string will be * in /etc/passwd file. Edit /tcb/files/auth/r/root file and take out the encrypted string.
Run 'passwd' and it shouldn't prompt you for the old password now.
-Sri
If you have a root session open, you can almost do anything.
For non-trusted system: Edit /etc/passwd file and remove the 'encrypted' password string (second field).
For trusted system: The encrypted string will be * in /etc/passwd file. Edit /tcb/files/auth/r/root file and take out the encrypted string.
Run 'passwd' and it shouldn't prompt you for the old password now.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2004 09:25 PM
тАО11-22-2004 09:25 PM
Re: how to bypass "Old password" prompt for root
Hi,
thanks Sri - perfect answer
It is a trusted system and now it has a correct
password :)
Tony.
thanks Sri - perfect answer
It is a trusted system and now it has a correct
password :)
Tony.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP