How To Add a User and Grant Root Privileges on Ubuntu 18.04


In this video, we describe how to add a user and grant root privileges on Ubuntu 18.04.

Commands used:
adduser tom
(fill in user info and then add a “Y” to confirm the addition of the info)
visudo (enter username to the end of the file)
This open the sudoers file in Nano.
add – tom ALL=(ALL:ALL) ALL
CTRL+X, then hit Y to save
su – tom
sudo apt-get update

The related article for this article can be found here: https://www.liquidweb.com/kb/add-user-grant-root-privileges-ubuntu-18-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: Justin Palmer


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


Inxy Hosting CDN Marketplace