User Tools

Site Tools


ubuntu:users:delete_a_user

Differences

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

Link to this comparison view

Next revision
Previous revision
ubuntu:users:delete_a_user [2019/12/04 22:04] – created peterubuntu:users:delete_a_user [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 <code bash> <code bash>
-deluser john+sudo deluser john
 </code> </code>
  
Line 9: Line 9:
 </WRAP> </WRAP>
  
-If you want to delete the user's home directory when the user is deleted, issue the following command as root:+If you want to delete the user's home directory when the user is deleted, issue the following command:
  
 <code bash> <code bash>
-deluser --remove-home john+sudo deluser --remove-home john
 </code> </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.+<WRAP important> 
 +**IMPORTANT:**  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. 
 +</WRAP> 
  
ubuntu/users/delete_a_user.1575497050.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki