- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
01-09-2003 06:04 PM
01-09-2003 06:04 PM
forgot root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:10 PM
01-09-2003 06:10 PM
Re: forgot root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:13 PM
01-09-2003 06:13 PM
Re: forgot root password
Reboot the server and terminate at the boot process.
at PDC type bo
Interact with IPL (say Yes)
at ISL type
hpux -is
this takes you to single user mode. Change the password and bring to multiusermode
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:37 PM
01-09-2003 06:37 PM
Re: forgot root password
The other day I was trying to change the root password after booting in single user more but it was asking old password :(
And also there is an option in system security policy -->General user account policy --> [ ] Require Login Upon Boot to Single-User State
If it is enable then it is not your day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:41 PM
01-09-2003 06:41 PM
Re: forgot root password
You can do a passwd -d root.
This allows you to login as root without password prompt. Once you are logged in, change your passwd immediately.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:49 PM
01-09-2003 06:49 PM
Re: forgot root password
I would suggest you install sudo or sfu onto your system then give your ID full rights. That way you'd be able to reset root's password without the need to reboot. you can't perform this action now (since you need to be root to install), but might save your bacon at a future date. It saved me a few times.
In regard to Animesh's comment about "Require Login Upon Boot to Single-User State", I use:
/usr/lbin/getprdef -r -m bootpw
The output of that command will be NO or YES. I have this in a script called in cron that will notify me if that check box is marked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:54 PM
01-09-2003 06:54 PM
Re: forgot root password
/usr/lbin/getprdef -r -m bootpw noted in my memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 07:27 PM
01-09-2003 07:27 PM
Re: forgot root password
Please elaborate more on the command...
/usr/lbin/getprdef -r -m bootpw .
Does this enable/disable the password requirement at the single user mode?
or
It will just display if the password requirement is enable/disable at for single user mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 07:33 PM
01-09-2003 07:33 PM
Re: forgot root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 07:34 PM
01-09-2003 07:34 PM
Re: forgot root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 07:45 PM
01-09-2003 07:45 PM
Re: forgot root password
If its a trusted machine, still its not difficult. Instead of using just passwd (which is /usr/bin/passwd) which asks for old password use /sbin/passwd it wont ask you for old password and then you can change the password easly.
Cheers
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 12:54 AM
01-10-2003 12:54 AM
Re: forgot root password
do provide some points to answers that solved your problem please ...
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 01:05 AM
01-10-2003 01:05 AM
Re: forgot root password
I'll try with the anti-tech method, if your system haven't strict security polices, pls try get via ftp with an user the /etc/passwd file to your PC then use any password cracker available on Internet to decrypt root password. This looks crazy but in some cases works!
Rgds.