- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unlocking 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
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
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
тАО03-12-2009 05:33 AM
тАО03-12-2009 05:33 AM
Unlocking user account
su - username
I mean if username is locked and after executing this command will that unlock the account username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 05:38 AM
тАО03-12-2009 05:38 AM
Re: Unlocking user account
are you able to open SAM or can modify /etc/password file?
let me know,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 05:39 AM
тАО03-12-2009 05:39 AM
Re: Unlocking user account
/usr/lbin/modprpw -k username
while logged in as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 05:42 AM
тАО03-12-2009 05:42 AM
Re: Unlocking user account
No, by doing "su", user account does not get unlocked.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 06:01 AM
тАО03-12-2009 06:01 AM
Re: Unlocking user account
passwd -d username -> will unlock the account
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 06:06 AM
тАО03-12-2009 06:06 AM
Re: Unlocking user account
Only if the system is NOT trusted.
Here is the man page excerpt for the '-d' option to the passwd command:
-d -- Allow user to login without a password by deleting it. In untrusted mode this unlocks / activates the user account if found locked/deactivated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 06:11 AM
тАО03-12-2009 06:11 AM
Re: Unlocking user account
You need to have root privileges to unlock a user account.
Run:
# sam
Accounts for Users and Groups -> Users -> Select the user -> Action -> Reactivate.
or
# passwd -d
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 07:04 AM
тАО03-12-2009 07:04 AM
Re: Unlocking user account
it works if system trusted;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 09:11 PM
тАО03-12-2009 09:11 PM
Re: Unlocking user account
Use the gui tool is the best option if you are new in unix.
# SAM
Then you will get GUI menu --> go to Users andd Groups.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 10:01 PM
тАО03-12-2009 10:01 PM
Re: Unlocking user account
If system is trusted than use
/usr/lbin/modprpw -k username to unblock user
For Non-Trusted system
passwd -d
Regards
Sanjeev