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]
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

How to Install Nano on CentOS

Login as root at type "yum install nano"

How to install Webmin on CentOS

How do I install Webmin?   Webmin is a free control panel that you can use to administer...

How to Change The Timezone on my CentOS VPS?

CentOS:1) Login as root2) Type "cd /usr/share/zoneinfo3) Type "ls"4) Find your timezone. 5)...

Powered by WHMCompleteSolution