Linux Ubuntu

How to interact as root in Ubuntu

I recently learned that you can interact with the Ubuntu BASH shell as root. In my lab I have been playing with a whole bunch of new applications and servers running on Ubuntu.

I recently was installing a Zabbix Proxy to monitor and I needed to run the installer as root. This was a wierd concept as I thought you were only able to use sudo in front of the command to be able to elevate the permissions. I thought root was out of the question with Ubuntu.

It turns out if you need to work in root you can simply type the following:

“sudo -i”

After typing in your password you will be given a root prompt. This really blew my mind consindering I had been using ubuntu for a while and never knew this was an option.

I hope this helps someone out there as I had no idea that this was even a thing.