Add or Remove a User / Users in CentOS / Redhat Linux

sudo adduser username

sudo passwd username

sudo gpasswd -a username wheel

#Check wheel group

sudo lid -g wheel

#Delete user:

userdel username
#Delete user and home folder

userdel -r username
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *