ONLINE

Reseller Hosting plan

Full root access to your server
at affordable prices

B2C Malaysia > Knowledgebase > VPS > How to Add or Delete Users in CentOS


How to Add or Delete Users in CentOS




Adding a User
 
To add a user login to root and type useradd  [UserNameHere]
 
Then you will be required to set a password for the user using the following - passwd [UserNameHere]
 
 
Deleting a User
 
To delete a user login to root and type userdel  [UserNameHere]
 
Then to delete the home directory of the user do rm -rf /home/[username]


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution

Language: