How to Add a User and Grant Root Privileges on CentOS 7


In this video, we describe how to add a user and grant root privileges on a CentOS 7 server.

Commands used:
adduser coolnewuser
passwd coolnewuser
visudo
/ ALL=(ALL) – enter
Press o
Click insert on the keyboard
coolnewuser ALL=(ALL) ALL
Click ESC. on the keyboard
:wq

The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-add-a-user-and-grant-root-privileges-on-centos-7/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/

To learn more about our Private Cloud Powered by VMware and NetApp options, visit: https://www.liquidweb.com/products/private-cloud/

Video by: Justin Palmer


Duration: 00:02:20
Publisher: Liquid Web
You can watch this video also at the source.