How to Add/Remove a User on CentOS?

If you need to add a new user named "jesox" on your CentOS server you can use the following command:

useradd -m jesox

To set the password for the new user "jesox" use the following command:

passwd jesox

If you later decided to remove the user "jesox" use the following command:

userdel -r jesox

 

I hope you found this tutorial useful and stay tuned for more to come

Share this post