On a typical Fedora installation, you are asked for a root password and you will given an option to create accounts for normal users.
On the other hand, Ubuntu only allows account creation for normal users, root logins are disabled by default.
When a user wants to perform administrative tasks, such as installing packages, sudo command is used to gain root access. As sudo command only works for a single action, it has to be entered for each and every administrative task.
Instead of using sudo to run each administrative task, you can open a root shell using sudo, and perform the administrative tasks within the root shell.
To open a root shell, run sudo as follows:
1 2 3 4 5 |
ibrahim@anfield:~$ sudo bash [sudo] password for ibrahim: root@anfield:~# id uid=0(root) gid=0(root) groups=0(root) root@anfield:~# |
The root shell is now ready for use.