HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is the command to lockout and remove Unix acc...
Operating System - HP-UX
1833648
Members
4409
Online
110062
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-18-2005 02:14 AM
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 02:18 AM
11-18-2005 02:18 AM
Re: What is the command to lockout and remove Unix accounts?
Hi John ,
1. Go to SAM .
2. User .
3. Choose User.
4. Deactivate user.
Cheers,
Raj.
1. Go to SAM .
2. User .
3. Choose User.
4. Deactivate user.
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 02:21 AM
11-18-2005 02:21 AM
Re: What is the command to lockout and remove Unix accounts?
Hi John ,
1. To Lock.
# passwd -l username.
[ -l Lock user account. In untrusted mode this replaces the encrypted password with *.] For further, $ man passwd
2. To Remove ,
# userdel username
or
# userdel -r username [ it also removes the users home directory.]
Enjoy ,
hth,
Raj.
1. To Lock.
# passwd -l username.
[ -l Lock user account. In untrusted mode this replaces the encrypted password with *.] For further, $ man passwd
2. To Remove ,
# userdel username
or
# userdel -r username [ it also removes the users home directory.]
Enjoy ,
hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 02:42 AM
11-18-2005 02:42 AM
Re: What is the command to lockout and remove Unix accounts?
Just be very careful with that -r option on userdel. Be absolutely sure the home directory as defined in /etc/passwd is ok to delete. I had a system at my previous job that had one user's home directory within an application directory hierarchy. I wasn't being particularly careful that day and deleted the account along with the home directory. Caused a bit of extra work for myself as I restored the deleted directory so the other people working to get the server ready for production could continue their work. I hate when that happens.
--
Jeff Traigle
Jeff Traigle
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP