- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: failed on su to root
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
12-26-2002 12:22 PM
12-26-2002 12:22 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:27 PM
12-26-2002 12:27 PM
SolutionSounds as if someone/something has locked/deactivated root's account.
You'll have to gain access to root by some means (single-user mode as last resort) & run:
passwd -d root
This will unlock/reactivate the account & delete the current PW. So then login as root - just enter through the PW & set a new PW for the root account. DO NOT LEAVE THE ROOT ACCOUNT WITHOUT A PW - HUGE SECURITY RISK.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:29 PM
12-26-2002 12:29 PM
Re: failed on su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:31 PM
12-26-2002 12:31 PM
Re: failed on su to root
What are the permissions of the passwd file?
Have a great HP day!
Larry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:33 PM
12-26-2002 12:33 PM
Re: failed on su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 12:35 PM
12-26-2002 12:35 PM
Re: failed on su to root
You MUST be root or a root-equivalent user to change the root account in any way.
Do you have another system available that you can rlogin from as root? Or another root session open on another workstation? Else you'll have to reboot into single-user mode to do this.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 09:14 PM
12-26-2002 09:14 PM
Re: failed on su to root
Go to system console and
login with root and give the
old password. It will allow
you to login, with message
account locked, but console login allowed.
One you logged in this you can give
/usr/lbin/modprpw -k root.
this will enable your account.
after this you can su to root.
Srini.