User Tools

Site Tools


users:delete_a_user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

users:delete_a_user [2017/02/22 11:39] – created peterusers:delete_a_user [2019/12/04 22:03] (current) – removed peter
Line 1: Line 1:
-====== Users - Delete a user ====== 
- 
-<code bash> 
-deluser john 
-</code> 
- 
-<WRAP warning> 
-**WARNING**:  This will not delete the user's home directory. 
-</WRAP> 
- 
-If you want to delete the user's home directory when the user is deleted, issue the following command as root: 
- 
-<code bash> 
-deluser --remove-home john 
-</code> 
- 
-If you had previously configured sudo privileges for the user you deleted by editing the /etc/sudoers file, you should remove the relevant line in that file too. 
- 
  
users/delete_a_user.1487763540.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki