How To Add and Delete Users on Ubuntu 14.04 and CentOS 7

Video is ready, Click Here to View ×

This tutorial covers basic creating and deleting users on Ubuntu and Centos.
sudo adduser newuser
sudo /usr/sbin/visudo

newuser ALL=(ALL:ALL) ALL

sudo userdel newuser
sudo rm -rf /home/newuser

sudo adduser newuser
sudo passwd newuser
sudo /usr/sbin/visudo

newuser ALL=(ALL) ALL

sudo userdel newuser
sudo userdel -r newuser

You can always Deploy an SSD cloud server in 55 seconds
with Digitalocean.
Anyone how use this link will receive $10 in hosting credit immediately…


Leave a Reply

Your email address will not be published.