In this tutorial, we will show you how to add and remove a user in CentOS 7.
Requirements :
- Dedicated Server
- root access
Add a new user in command line
adduser username
Set a password for this user
passwd username
Delete a user in command line
Delete user without his files located in /home directory
userdel username
Delete user with all his files located in /home directory
userdel -r username