- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- forgot 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
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
09-12-2002 05:25 AM
09-12-2002 05:25 AM
# passwd /etc/passwd root
Password cannot be changed. Reason: Cannot access protected password entry.
I also tried to change it by SAM, but it deny to do that.
any method to change it without reboot the system? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:34 AM
09-12-2002 05:34 AM
Re: forgot root password
# passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:38 AM
09-12-2002 05:38 AM
Re: forgot root password
try unconvert change the password and converting the system to trusted.
SAM -> Auditing and Security -> System Security Policies -> Password Aging policies -> password aging
Select "disabled" and select OK
The above is required when you convert system untrusted, this will expire all the passwords of the users. hence it is very important so that it will not expire the passwords and your users will not see any difference.
1. /usr/lbin/tsconvert -r
change the root password
and then convert the system back as trusted.
2. Run /usr/lbin/tsconvert -c
Also take a backup of /etc/passwd file before doing anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:45 AM
09-12-2002 05:45 AM
Re: forgot root password
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:46 AM
09-12-2002 05:46 AM
Re: forgot root password
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:47 AM
09-12-2002 05:47 AM
Re: forgot root password
If it is not trusted, then make a copy of /etc/passwd, edit the password field for root, (set to no password). Then try setting it from command line
Either way do not log out of you root session, that is your only hope if you do not want to reboot your system!!
-Shekar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 06:22 AM
09-12-2002 06:22 AM
Re: forgot root password
The "backdoor" is to go to single user mode, which logs you in as root, then you should be able to do the simple password command.
To do this:
reboot
Enter BOOT ADMIN mode by tapping the esc key.
At the prompt type:
boot pri isl
Interact with ISL -> y
At the ISL>
Type hpux -is
This will boot you to single user mode, then you can change the root password.
Hope this helped.
- Allan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 06:36 AM
09-12-2002 06:36 AM
Re: forgot root password
# passwd
or
# passwd root
makes sense, but I've never seen the syntax
you show. Did you accurately describe
what you really typed?