How to Delete User in Linux
In this tutorial i will explain How to Delete User in Linux, Earlier we have learnt How To Create User In Linux. We have two options here to delete a user.
1. Without User home directory.
2. With home directory.
Command:
1 | -- User delete without home directory-- |
2 | userdel username |
3 |
4 | -- User delete with home directory-- |
5 | userdel -rf username |