- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Forgot the 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
тАО10-08-2001 10:27 AM
тАО10-08-2001 10:27 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2001 10:34 AM
тАО10-08-2001 10:34 AM
Re: Forgot the root password
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2001 10:41 AM
тАО10-08-2001 10:41 AM
Re: Forgot the root password
1.Power On the System
2. Interrupt Bootting process (Press a Key in 10 sec)
3. Yes for interacting ISL
4. hpux -iS for Single user mode
5 passwd command for changing root password
Good Luck
-USA...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2001 10:44 AM
тАО10-08-2001 10:44 AM
Re: Forgot the root password
To boot the system in single user mode, you have to interrupt the boot process. At the boot prompt, type
bo pri
This will boot the system from the primary path. Select "Y" to interact with IPL. At the IPL prompt type "hpux -is"
IPL>hpux -is
This will boot the system in single user mode and you can use the "passwd" command to set the new password.
Hope this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2001 12:04 PM
тАО10-08-2001 12:04 PM
Re: Forgot the root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2001 12:09 PM
тАО10-08-2001 12:09 PM
Re: Forgot the root password
Looks like a busy day ;-)
Another thing you could do is back up the password file (cp /etc/passwd /etc/passwd.bk) and then edit the password file and remove the encrypted passwd for root.
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2001 12:12 PM
тАО10-08-2001 12:12 PM
Re: Forgot the root password
The passwd command will work only once the system is booted in to single user mode. Did your system boot into single user mode. At the IPL prompt you have to type "hpux -is" to boot the system into single user mode. Once into single user mode you can change the password.
first type "bo pri" after interrupting the boot process when the system says press any key within 10 seconds to interrupt the boot process. It will ask you whether you want to interact with IPL, select "Y" It will boot and come to the IPL> prompt. At the ipl prompt type "hpux -is". This will boot the system into single user mode.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 06:56 AM
тАО10-09-2001 06:56 AM
Re: Forgot the root password
Autoboot from primary path enabled.
To override, press any key within 10 secs.
I pressed Esc key.
Boot from primary boot path (Y or N?) Y
Interact with IPL (Y or N?) Y
ISL>hpux -is
ISL> passwd
Not an isl command or utility.
What am I doing wrong? Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 07:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 07:21 AM
тАО10-09-2001 07:21 AM
Re: Forgot the root password
Now it says, Isl command or utility name exceeds 10 characters. Thanks.