How to Add a User and Grant Root Privileges on Ubuntu 16.04


In this video, we describe how to create, add and then grant that user root privileges on an Ubuntu 16.04 server.

Commands used:
adduser alex
password:
password:
Enter the new value or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:

usermod -aG sudo tom
su – alex
grep ‘^sudo’ /etc/group

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-ubuntu-16-04/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn more about our Private Cloud Powered by VMware and NetApp, visit: https://www.liquidweb.com/products/private-cloud/

Video by: Alison Gray


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