- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: password lost
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
10-14-2002 10:12 AM
10-14-2002 10:12 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 10:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 10:50 AM
10-14-2002 10:50 AM
Re: password lost
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 04:08 PM
10-14-2002 04:08 PM
Re: password lost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 04:32 PM
10-14-2002 04:32 PM
Re: password lost
Exit editor
and type passwd root
enter new password for the root user
go multi user and enjoy.
Note. Unless you run C2 security with password switched on for single user, you don't need the password for single user mode, unlike solaris.
-ETL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 04:54 PM
10-14-2002 04:54 PM
Re: password lost
If the response is that you have to type in the old password, then you are either not in single-user mode, or you have a trusted system that has the root password actually protected.
Type this in from the command line to check.
# /usr/lbin/getprpw (if the response is "System is not trusted" then you can edit the /etc/passwd file).
If it is not, then you will need to remove the encryption from the /tcb database
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 05:00 PM
10-14-2002 05:00 PM
Re: password lost
1. Edit the root passwd file
Go in to the /tcb/files/auth/r dir and vi the root file.
make :u_pwd=aKYOsuz9RLCQU:\ look like :u_pwd=:
The change the root password.
2. un-trust the system.
# /usr/lbin/tsconvert -r
Change the passwd and re-trust the system
# passwd root
# /usr/lbin/tsconvert
Be aware that changing the system to un-trusted and trusted again will change all users passwords. See this link for some additional comments.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbb1dcb60e503d6118ff40090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 10:38 PM
10-14-2002 10:38 PM
Re: password lost
for those cases it would be the best to have the root password saved in a file and secure it with PGP. Then you have the password when you need it.
We have installed SSH on our system...therefor we can access the system without "knowing" the password.
As solution for your problem : if your system is a trusted system.
- edit the root passwd file
change into the /tcb/files/auth/r directory and vi the root file.
- make :u_pwd=nhO8dn9G3KbtQYkeird9Uj/k:\ look like :u_pwd=:
- or copy from another system the root passwd from which you know it
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 11:05 PM
10-14-2002 11:05 PM
Re: password lost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 05:49 AM
10-15-2002 05:49 AM
Re: password lost
regards for all :)