- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Lockout question between two boxes
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
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
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
тАО09-29-2006 03:21 AM
тАО09-29-2006 03:21 AM
Lockout question between two boxes
Problem: since nobody logs into DR often, their accounts have been locked out. Root's own account has been locked out, and so have two other accounts (mine and another sysadm) who have sudo access to fix the problem.
I've been able to use the web console (yeah, it's old enough) but physical access to the box is next to impossible (for me).
I've gotten in on the web console, interrupted the boot sequence, and got in with "hpux -is". Still can't log in as root, even though we have the password. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 03:33 AM
тАО09-29-2006 03:33 AM
Re: Lockout question between two boxes
Are you sure you have no active /etc/securetty with strange things in it?
We must know if you system is trusted, what OS / plateform we are talking about (in case of patches etc...)
Are you using NIS or somtheing alike?
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 03:39 AM
тАО09-29-2006 03:39 AM
Re: Lockout question between two boxes
from single user since you can get in that way. if your box is trusted (sounds like it)
use modprpw to unlock roots account. I think its modprpw -k root but verify that with the manpage. You can use getprpw to display the account settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 03:48 AM
тАО09-29-2006 03:48 AM
Re: Lockout question between two boxes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 04:38 AM
тАО09-29-2006 04:38 AM
Re: Lockout question between two boxes
Is your production box trusted then? For what I see, there is no reason on a box to have accounts getting disabled if no one has put a policy in place...But as you mentionned there is a replication every day...
A way to know where you are is if as a user you can connect yourself, what do you see in /etc/passwd ?
something like which of thes 3 lines:
hgr:x:204:150:,,,:/home/hgr:/usr/bin/ksh
bonos:*:2013:20:,,7602,:/users/bonos:/usr/bin/sh
fpo:Csk7LxCVXISQ6:203:20:,,,:/home/fpo:/usr/bin/ksh
Victor
P.S.
Have you ever thought the passwd file can get corrupted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 04:47 AM
тАО09-29-2006 04:47 AM
Re: Lockout question between two boxes
Regards,
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 04:49 AM
тАО09-29-2006 04:49 AM
Re: Lockout question between two boxes
The replication we do is a cronjob and up until about 2 months ago, I had been logging in regularly. The same production box sends out all the information for users to a number of other boxes, all of which are able to be logged into. Just this one is not used by us much, there's never been a reason to log in daily, and now we're definitely suffering the consequences. I'm going to experiment with the single-user mode and see if there's anything I missed. I'll report back here as soon as possible. Thanks again all!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2006 04:57 AM
тАО09-29-2006 04:57 AM
Re: Lockout question between two boxes
AS far as lockout, there are two password lifetime values and one can lock out an account after non-usage. Make sure that value is set high enough (8 months?). After all, you'll be patching every 6 months so that will refresh the login. You can use modprpw to refresh all the passwords (ie, make the time since last activity = zero) with a single command:
/usr/lbin/modprpw -V
Putting that in cron for a once a month run should fix the problem.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2006 06:15 AM
тАО10-02-2006 06:15 AM