Setting password for the ‘root’ user in Ubuntu

Open a terminal window in Ubuntu:

Log in as your username and enter your password when requested.

Switch to super user root, as follows:

sudo -s (enter)
the result is:

Now set-up a password for the administrative user named ‘root’ as follows:

(enter password twice as requested)

Print Friendly, PDF & Email