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

June 5, 2020 Liquid Web

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 on our KB.

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 newsletter to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
How to Install INXI on Ubuntu 18.04
How to Install INXI on Ubuntu 18.04

In this video, we describe how to install and use inxi on ubuntu 18 04.

Next Video
Renaming Database Tables with PhpMyAdmin
Renaming Database Tables with PhpMyAdmin

In this video, we describe how to work with PhpMyAdmin to rename tables.

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

Download Now