- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lost 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
07-12-2001 03:16 PM
07-12-2001 03:16 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 03:20 PM
07-12-2001 03:20 PM
Re: Lost root password
Another option is if you have restricted SAM set up to allow other users to set up accounts. If you have this you should be able to go in and change root's passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 03:43 PM
07-12-2001 03:43 PM
Re: Lost root password
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 04:20 PM
07-12-2001 04:20 PM
Re: Lost root password
The other guys have sort of got you on the
right track. I would like add something else.
I would suggest that implement a well known
product called 'sudo' This will allow you to
secure your system so that anybody that wishes
to add, modify. or delete users can but only
has access to this.
I've attached the link for you.
http://www.courtesan.com/sudo/
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2001 04:22 PM
07-12-2001 04:22 PM
SolutionRegarding duplicate root ID's, this is can be a very big security and stability risk, especially if an ordinary username has the extra UID 0. From a security point of view, the first place a hacker will try to modify is a normal user into a UID 0. The other problem is when a user logs in with this non-root account name (UID 0) but has forgotten that they are root and makes a big mistake such as a recursive rm command (the infamous "rm -r * Club")
I would order the brand new HP-UX Security book from HP Press authored by Chris Wong as soon as possible.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 08:53 AM
07-13-2001 08:53 AM
Re: Lost root password
I have a retired system, and it is still functioning. I wish I can ftp the root power to my account in the new system, but I was just able to ftp the .profile only. I get the warning that I am the superuser, but I have no root power. Please advise how to ftp the root power from one system to the other.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2001 10:54 PM
07-13-2001 10:54 PM
Re: Lost root password
The procedure to boot the system in single user mode is as follows...
if u reboot the machine, in the console u will get a message like this
"Autoserach for boot path enabled
To override press any key with in 10 sec"
press any key at this time, u will get a question to boot from primary boot path.
you have to give y as answer. then it will ask do u want to interact with IPL, u have to answer Y.
then u will get an ISL prompt.
ISL>
in this prompt u enter the command
ISL> hpux -is
this will boot the system in single user mode.
it will not ask for the root password. now u can change the password of root by typing the command "passwd".
regards
jayamohan