Solaris Remove (deleting) a user account
The userdel command deletes a user account from the system and makes the appropriate account-related changes to the system file and file system.
Use userdel command to remove user account rockyjr (but not home directory only remove entry from /etc/passwd and /etc/shadow files)
# userdel rockyjr
Pass -r option to userdel command to remove users home directory and login information:
# userdel -r rockyjr
E-mail this to a Friend
Printable Version
You may also be interested in other helpful articles:
- Search for all account without password and lock them
- How to delete a write protected file
- First taste of HP-UX system administration
- Solaris managing users - Gathering more information
- Solaris > Safely remove / unmount the floppy disk or cdrom
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Today ~ 12 Comments
Today ~ 8 Comments
Today ~ 185 Comments
Today ~ 15 Comments
Today ~ 3 Comments