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

Install Fail2ban on CentOS 7 & 8

Objective: Ban all IPs that have failed logins by matching a certain policies. Here's a…

Installing Apache on Centos 7

The easy methodsudo yum clean allsudo yum -y updatesudo yum -y install httpd php-pearsudo firewall-cmd…

Linux Cheat Sheet

Below is a quick reference to the most useful commands and techniques for a Linux…