Posted On April 1, 2019

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

kimconnect 0 comments
blog.KimConnect.com >> Linux >> 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

Leave a Reply

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

Related Post

Linux: how to make automounts persistent

# Step 1: discover the device using its current mount path mountPath=/media/kim/Data findmnt | grep…

How to Use Google SMTP Relay with Sendmail

Check to see if TLS is enabled:# sendmail -d0.1 -bv rootMake a certs directory:# mkdir…

Docker Alpine OpenSSH-Client

# Run Alpinedocker run --privileged --restart always --name alpine alpine:latest# Run these commands from inside…