- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to lock the user account
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
02-03-2011 10:36 PM
02-03-2011 10:36 PM
$passwd -l kumar
Unexpected failure. Password file unchanged. Recommend running pwck command.
$
kindly find the above error and how to solve to resolve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2011 10:42 PM
02-03-2011 10:42 PM
Re: unable to lock the user account
is it trusted system , do we have a directory called as /tcb ?
Does this command works ?
/usr/lbin/getprpw useraccount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2011 11:09 PM
02-03-2011 11:09 PM
Re: unable to lock the user account
kindly find the below output
$more /etc/passwd | grep -i kumar
kumar:*:108:105::/home/anbu:/sbin/sh
getprpw kumar -command working
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2011 11:11 PM
02-03-2011 11:11 PM
Re: unable to lock the user account
$more /etc/passwd | grep -i kumar
kumar:*:108:105::/home/kumar:/sbin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2011 11:14 PM
02-03-2011 11:14 PM
SolutionTry below commands.
/usr/lbin/modprpw -l -m alock=YES kumar
##lock the account of user
/usr/lbin/getprpw -r -m lockout kumar
##checks if accout is locked
0000010 ##a "1" indicates it's locked
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2011 11:19 PM
02-03-2011 11:19 PM
Re: unable to lock the user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2011 11:22 PM
02-03-2011 11:22 PM
Re: unable to lock the user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2011 03:28 AM
02-04-2011 03:28 AM
Re: unable to lock the user account
plz post the output of pwck and post the output....
regards
MC