- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root password reset for HP-UX 11.00
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
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
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
тАО12-04-2003 02:46 AM
тАО12-04-2003 02:46 AM
I'm an amateur unix user working on a HP-UX 11.00 workstation which is not conected to any network. The root password is lost and I need to reset it. I've read previuos suggestions and was wondering how do I reboot into single user mode? Is there an easier way to change the password since I'm not connected to any network and there's no heavy security on the machine?
Thank you,
Carolina
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 02:50 AM
тАО12-04-2003 02:50 AM
Re: Root password reset for HP-UX 11.00
To boot into single user mode, interrupt the boot process when you see the message saying you have 10 seconds to do so. Then enter "hpux -is" to boot into single user mode. You'll be already logged in as root. Issue the passwd command to change the password.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 03:04 AM
тАО12-04-2003 03:04 AM
Re: Root password reset for HP-UX 11.00
Stop the boot process when it says "Press any key to stop in 10 seconds". It will be on "Main Menu >" prompt.
Type "bo pri ISL" hit Enter.
< Interact with IPL ? >
Say Y ( for yes)
You will be at "ISL>" prompt.
Type "hpux -is" hit Enter.
System will be booted in single user mode and it will be logged in as "root".
Change the Password and reboot.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:43 AM
тАО12-04-2003 05:43 AM
Re: Root password reset for HP-UX 11.00
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:48 AM
тАО12-04-2003 05:48 AM
Re: Root password reset for HP-UX 11.00
As user "root" run "shutdown -r 0"
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:49 AM
тАО12-04-2003 05:49 AM
Re: Root password reset for HP-UX 11.00
Just re-read your question, forgot my stupid prior suggestion! ( as root ... )
My god!
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:53 AM
тАО12-04-2003 05:53 AM
Re: Root password reset for HP-UX 11.00
Thanks again,
Carolina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:55 AM
тАО12-04-2003 05:55 AM
SolutionIf there are no active databases etc running on the machine then you can probably switch of the machine and then when the machine is swtiched on back may be you can go into single user mode and change the password for the root.
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:56 AM
тАО12-04-2003 05:56 AM
Re: Root password reset for HP-UX 11.00
No, as far as I know. Try to do a hard reset.
Sorry again ( I can't believe it! ).
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 05:59 AM
тАО12-04-2003 05:59 AM
Re: Root password reset for HP-UX 11.00
Thanks for your reply. I was advised that manually shutting the computer down is not good. There are no databases running on it. It's an HP Visualize j6000 UX 11.00. I guess I'm just looking for reassurances that I won't mess anything by manually shutting down. Also, is boot or reboot the correct command for shutting down? If so, why do you think it didn't work for me?
Thanks,
Carolina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 06:00 AM
тАО12-04-2003 06:00 AM
Re: Root password reset for HP-UX 11.00
BTW, if you turn the power OFF on a HP workstation (most of the models), it will shutdown and then turn off.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 06:03 AM
тАО12-04-2003 06:03 AM
Re: Root password reset for HP-UX 11.00
Unless another user has been designated in the /etc/shutdown.allow file, root is the only one allowed to issue the shutdown comand. In that case, you'll need to use the "simulated power failure" technique - sometimes known as powering the workstation down and back up again.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 10:07 AM
тАО12-04-2003 10:07 AM
Re: Root password reset for HP-UX 11.00
Thanks for all the info. It worked! Unfortunately, after being succesful with that I got a little too ambitious and went ahead with the set_parms initial command to connect it to the network. Here is when the problems started. First, I mistakenly chose the stand alone option instead of the network option and when prompted for the host name I gave it the host name that my IT department had allocated for my computer. The computer already had a hostname but I changed it to the one IT gave me and configured the time zone and thats it. It rebooted and then when I tried logging back in it would not log in. It would not give me any errors, it would just return to the "Welcome to
Any ideas?
Thanks,
Carolina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 07:27 PM
тАО12-04-2003 07:27 PM
Re: Root password reset for HP-UX 11.00
to solve your login problem you'll need to boot to single user mode again.
After that you should check /etc/hosts and /etc/rc.config.d/netconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 08:47 PM
тАО12-04-2003 08:47 PM
Re: Root password reset for HP-UX 11.00
I think that you should verify the following things (of course in single user mode):
1. what reports hostname command?
2. what is into /etc/rc.config.d/netconf file about 'HOSTNAME' (it is the first line uncommented)?
3. what is into /etc/hosts about hostname or alias?
3. what is the exact message in /etc/rc.log?
If it runs fine then you will just see
----------------------------
Setting hostname
Output from "/sbin/rc1.d/S320hostname start"
----------------------------
otherwise you will see the reason of the failure.
In order to have a correct hostname by point 1-2-3 should be equal and into /etc/rc.log no error messages should appear about hostname.
If this is not your case then you could try to change manually hostname info into files of point 1-2-3 and reboot.
I hope this helps you.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 08:52 PM
тАО12-04-2003 08:52 PM
Re: Root password reset for HP-UX 11.00
Of course point about /etc/rc.log is the point number 4 and no another 3.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 02:58 AM
тАО12-08-2003 02:58 AM
Re: Root password reset for HP-UX 11.00
Thank you very much for your help. The hostname was more than 8 characters as indicated in the rc.log file. I went and did the set_parms command again and changed the hostname to be eight characters or less and now everything is fine.
I wanted your suggestion on a good book on HP UX system administration. There are a couple listed in Amazon and I'm not sure which one to pick. Any particular good ones you would reccomend?
Thanks again,
Carolina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:06 AM
тАО12-08-2003 03:06 AM
Re: Root password reset for HP-UX 11.00
You can find good books here.
http://www.hp.com/hpbooks/subject.html#hp-ux
This one is very good.
http://www.hp.com/hpbooks/prentice/ptr_0130183741.html
Kind regards,
Robert-Jan