- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root account keeps disabling
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
05-27-2005 02:31 PM
05-27-2005 02:31 PM
root account keeps disabling
I know noone has been on the box as I am the only person with accounts on there. I can get access and can reset trhe account again but I do not wish for the root account to disable itself again.
Can you help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 02:47 PM
05-27-2005 02:47 PM
Re: root account keeps disabling
You should NEVER have to go to single user mode to reactivate root. If you have a serial console, web console or lan console on the system, use it. Even if root is deactivated, you can log in via the console and reactivate it.
I would suggest doing a 'lastb -R root'. This will show you the invalid logins for root and the IP address they came from. This should help you to figure out who/what is locking the account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:41 PM
05-27-2005 11:41 PM
Re: root account keeps disabling
o "disable account after X failed login attempts" and
o "disable account after X days inactivity"
o "disable reset password after X days"
Also make sure you cannot login as root unless you are already logged in (/etc/securetty I think)... Actually this may also be the cause as you my try to log in as root and /etc/securetty may stop you!!!
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 07:32 AM
05-28-2005 07:32 AM
Re: root account keeps disabling
lastb -R root
to see if the attacks are coming from the same address. Then block that address until you can track down the hacker.
As an alternative, you can eliminate all root login attempts by doing this:
echo "console" > /dev/securetty
Now, all root admins must login as a normal user and then use su (or better yet, the contributed program sudo) to attain root privileges. Turning of the automatic disabling of user logins is not a good idea,
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 09:30 AM
05-28-2005 09:30 AM
Re: root account keeps disabling
I have viewed the lastb -R root command and it does appear a collegue may have been attempting to access the system, while I have been away. It also appears he has amended some root account settings in whcih the trusted database for root has become confused or corrupt.
I have reset the account afetr removing the entry in the /tcb/files/auth/r/root file, and can now log in ok!
thanks very everyones prompt responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2005 09:33 AM
05-28-2005 09:33 AM