- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unlock passwd command
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
07-05-2004 01:29 PM
07-05-2004 01:29 PM
passwd -l
Or I have to use getprpw and modprpw. By the way, what is these 2 command actual means? What I know is when the root password is disabled at client pc, I have to login as root in console and key in the command /usr/lbin/modprpw -k root.
regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 01:39 PM
07-05-2004 01:39 PM
SolutionIf you are using a trusted system then you as you already seen, you need to use to unlock accounts:
# /usr/lbin/modprpw -lk
This unlocks the user account.
These 2 commands are for trusted systems and are used to view (getprpw) or change (modprpw) entires in trusted database (/tcb).
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 01:41 PM
07-05-2004 01:41 PM
Re: Unlock passwd command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 01:46 PM
07-05-2004 01:46 PM
Re: Unlock passwd command
I think "-k" can only be used to unlock an account.
To lock an account use:
/usr/lbin/modprpw -m alock=YES
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 02:38 PM
07-05-2004 02:38 PM
Re: Unlock passwd command
/usr/lbin/modprpw -k
I tried to view user accoung lock status by issuing this command /usr/lbin/getprpw -r -m lockout
1) What is -r, -m stand for? Is all the parameters available same as the parameters for passwd command?
2) The word "lockout" is a syntax, right?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 04:17 PM
07-05-2004 04:17 PM
Re: Unlock passwd command
I find it easier just to use:
# /usr/lbin/getprpw
Check 'alock' and 'lockout' field.
If the account is not locked you will see:
alock=NO lockout=0000000
If an account is locked for any reason you will see a '1' in the lockout field.
For example:
lockout=00010000
-> means account is locked for exceeding unsuccessful login attempts.
I'm attaching a doc that explains it in more detail.
Cheers
Con