- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Locked accounts in /etc/passwd
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
01-10-2007 10:14 AM
01-10-2007 10:14 AM
Locked accounts in /etc/passwd
Any ideas on expediting this would be appreciated.
Thanks,
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 10:22 AM
01-10-2007 10:22 AM
Re: Locked accounts in /etc/passwd
can tell you if user is locked.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 10:22 AM
01-10-2007 10:22 AM
Re: Locked accounts in /etc/passwd
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1050217
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 10:27 AM
01-10-2007 10:27 AM
Re: Locked accounts in /etc/passwd
grep -e "*:" /etc/passwd
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 10:54 AM
01-10-2007 10:54 AM
Re: Locked accounts in /etc/passwd
You can check on accounts at the command line useing the getprpw command. when you do a getprpw and numbers come back that are 1 then the account is locked. if it comes back wirh all 0's then the account is not locked.
#getprpw -r -m lockout username
#modprpw -k username
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 11:38 AM
01-10-2007 11:38 AM
Re: Locked accounts in /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 02:37 PM
01-10-2007 02:37 PM
Re: Locked accounts in /etc/passwd
# cd /usr/lbin/
# ./getprpw username
And check for the lockout value, 1 is locked.
you can release the locked account by :
# modprpw -k username
Remember this is for trusted systems. Non trusted systems you can use SAM and Reactivate the user.
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2007 03:45 PM
01-10-2007 03:45 PM