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

February 13, 2020 Liquid Web

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

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our <a href="https://www.liquidweb.com/blog">newsletter</a> to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Generations Homecare System - Video Case Study | Liquid Web
Generations Homecare System - Video Case Study | Liquid Web

With Liquid Web, Generations Homecare evolved from a locally installed scheduling software to a HIPAA-compl...

Next Video
Change a Password for MySQL on Linux via Command Line
Change a Password for MySQL on Linux via Command Line

In video one of this video series on MySQL Command Line, we describe how to change a password for a MySQL u...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now