Changes

Jump to: navigation, search

Managing Ubuntu Linux Users and Groups

986 bytes added, 14:48, 5 July 2007
Deleting a User from an Ubuntu Linux System
== Deleting a User from an Ubuntu Linux System ==
 
An existing user may be deleted using the same User settings dialog used to add a user as outlined above. Select the System desktop menu and choose Users and Groups from the the Administration sub-menu to launch the User settings dialog.
 
Select the user to be deleted and click on ''Delete''. A confirmation dialog will appear. If you wish to proceed click on ''Delete''.
 
Note that the deletion process will remove the account but leave the user's home directory intact. This will need to be deleted manually if it, and any files therein, are no longer required.
 
A user account may also be deleted from command-line using the ''deluser'' utility:
 
<pre>
sudo deluser john
</pre>
 
It is also possible to remove the user's home directory as part of the deletion process:
 
<pre>
sudo deluser --remove-home john
</pre>
 
Alternatively all files owned by the user, including those in the user's home directory may be removed as follows:
 
<pre>
sudo deluser --remove-all-files john
</pre>
== Adding a New Group to an Ubuntu Linux System ==

Navigation menu