Lubuntu : Log in to the terminal as admin (root)
In this article I will show you how to log in to the Linux terminal as root (admin). After that you will no longer have to enter the root password every time you enter a command. All actions in the terminal will then be carried out as root. This works with all known Linux distributions.
Log in to the terminal as admin (root)
If you plan to execute several commands in the terminal with root access, it makes sense to log in to the terminal as root so that all further commands are executed without constantly having to enter a password.
First, open the terminal via the menu / System Tools / LXTerminal, or press the key combination [Ctrl] + [Alt] + [T] to open a new terminal window. This key combination may be different for other Linux distributions.
Run the following command to log in to the terminal as root (admin).
$ sudo -i
Then you have to enter your root password once.
You are now logged in to the terminal as root (admin) and can now perform all actions without having to re-enter the password.