GNU/Linux Command – USERDEL

userdel – Delete a user account and related files
 
Summary :
The userdel command modifies the system account files, deleting all entries that refer to login. userdel will not allow you to remove an account, if the user is currently logged in. You must kill any running processes which belong to an account that you are deleting.
 
Example:
# userdel usr1 -- Remove the usr1 account entry details. Home Dir will not be removed.  # userdel -r usr1 -- Remove the account entries, Home Dir and Mail Spool of the usr1.
Read: man userdel

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: