Sudo command with Ubuntu
Sudo runs a single command with root privileges. By default, Ubuntu remembers the password for 15 minutes. To get a full root shell, use the sudo with the lowercase i.
To enable the root user account, use sudo passwd root command.
Permissions can be assigned to a user to use sudo via the visudo command.