- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disable/enable 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
03-31-2003 10:23 PM
03-31-2003 10:23 PM
How can I disable then enable specific user account/s?
regards...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 10:28 PM
03-31-2003 10:28 PM
Re: disable/enable user account
# /usr/lbin/modprpw -k
If not trusted, you can use:
# passwd -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 10:28 PM
03-31-2003 10:28 PM
Re: disable/enable user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 10:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 10:45 PM
03-31-2003 10:45 PM
Re: disable/enable user account
deactivate:
/usr/lbin/modprpw -l -m alock=YES
activate:
/usr/lbin/getprpw -l -r -m lockout
or via SAM
Hint: If you don't know such a command you can try it with SAM and look at /var/sam/log/samlog.
for the command
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 11:08 PM
03-31-2003 11:08 PM
Re: disable/enable user account
My system is NOT trusted. Thefore,
passwd -l
passwd
works alright...
thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 11:14 PM
03-31-2003 11:14 PM
Re: disable/enable user account
One further thing that I would always do and that is to make the user reset their password after logging in the first time. Using the 'passwd -f' option, the user will prompted to change their own password at the first attempt. This is good security practise.
Cheers
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 12:20 AM
04-01-2003 12:20 AM
Re: disable/enable user account
Just recently learned about this... Another way to disable/enable user account.
to disable:
-----------
/usr/sam/lbin/usermod.sam -p "*"
to enable:
----------
/usr/sam/lbin/usermod.sam -p ,..
hope you'll find this useful too...
Michael, thanks for the addtional info/tip.
regards...