- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root login locked out
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
03-11-2005 11:56 AM
03-11-2005 11:56 AM
we have root and an equivalent super user on the trusted system. both the accounts got locked out. we are not able to login through the console from both user ids.
/etc/securetty is enabled for root
ssh is enabled and telnet is disabled.
plz help us in logging to the system without re booting bcoz this is the production system running critical Database running on it.
Thanks
Thiyagarajan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 01:56 PM
03-11-2005 01:56 PM
Solutionsudo can also be downloaded from http://software.hp.com
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2005 06:28 AM
03-12-2005 06:28 AM
Re: root login locked out
Thanks for reply !
Soory for delay, i was not ble to try
suudo immeditely
ii have tried , but it was asking me password
sudo /usr/lbin/modprpw
Thanks
Thiyagarajan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2005 08:35 AM
03-12-2005 08:35 AM
Re: root login locked out
SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2005 01:35 PM
03-12-2005 01:35 PM
Re: root login locked out
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 05:17 AM
03-15-2005 05:17 AM
Re: root login locked out
Does your backup/recovery software to restore individual files still work? If your backup software allows you to backup a file and restore it anywhere on the system you could overwrite files.
You could probably rebuild /etc/passwd, /tcb/.../root, /etc/suduers, or anything for that matter.....
take care,
peyman;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 07:03 AM
03-15-2005 07:03 AM
Re: root login locked out
On trusted system if you can get somehow write access to /tcb/files/auth/r/root file you might clean encrypted password after :u_pwd: in the file and then you should be able sign on using root account without any password. There was an earlier post regarding this technique here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 07:22 AM
03-15-2005 07:22 AM
Re: root login locked out
boot
interupt at the 10 second prompt
bo
Y Interact
hpux -is
mount /var
mount /usr
cd /tcb/files/auth/r
vi root
null out the root password entry.
Save it.
Immediately set a root password with the passwd command.
Use that user id to unlock your equivalent root user.
shutdown -ry now
As to how to do the initial shutdown? Hopefully you have a operations user authorized to boot the box. If not, you are in power switch mode.
This is the only way I know of resetting the root password on a trusted system. Downtime required.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2005 08:09 PM
03-20-2005 08:09 PM
Re: root login locked out
sorry for late reply i was on leave for a week
i couldn't work on this issue
SS , i have tried with sudo it was not working, because it was not configured
peyman, - that's the good idea , we will be able to recover files from tape , but how i will be able to change the password
alex, we dont have any root login session opened to get the write access to any of these files
atlast we reboot the server on the scheduled downtime as "SEP" told and we reset the password
still i am working on why the root account got disabled in console
Thanks for u people
Thiyagarajan