- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- reactivate root acount!!
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
06-06-2005 11:44 PM
06-06-2005 11:44 PM
reactivate root acount!!
some weeks ago I converted my HP-UX11.i into an trusted system. Everything worked fine after all users set new passwords and time went by. Today I try to do su to root (which I did several times before after the conversion, so I am convinced to use the correct password) but it tells me that the acount is disabled.
I think that someone else tried several times to login as root and diabled the acount! Could this be?
If or not is there a w3ay to reactivate it?? And if what can I do to avoid this situations. Just setting the amount of test logins to infinite?
Thanks for help. I am lost.
Oliver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 12:07 AM
06-07-2005 12:07 AM
Re: reactivate root acount!!
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 12:08 AM
06-07-2005 12:08 AM
Re: reactivate root acount!!
Look at this doc:
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065680128
If you cannot acces I will cut and paste a bit..
Now to avoid this happening on trusted there are:
Not allowing people to connect as root other than the console
Use sudo and see what can be done /etc/default/security
Change the amount of failed to more than default (3...)
...
But more important give yourself the rights to all in rectrited sam AND especially to reboot the box in case you have to go single user...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 12:12 AM
06-07-2005 12:12 AM
Re: reactivate root acount!!
If you no longer know the root password you can boot into single user mode and null out the password entry in /tcb/auth/files/r/root file.
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
06-07-2005 12:46 AM
06-07-2005 12:46 AM
Re: reactivate root acount!!
As others have posted, sudo is probably your best bet to avoid this in the future. Create an admin group and place all sysadmins in it. Then, download and install sudo. Execute visudo and place
%admin ALL=(ALL) ALL
in it.
Once saved and exited, anyone in the admin group will be able to execute any command as root by:
sudo ${command}
So, if you want to reenable the root account:
sudo /usr/lbin/modprpw -k root
You'll have to remember to removve anyone that leaves the company or no longer needs sysadmin privileges from the admin group.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html