Ubuntu: Login as root

Many may say that one cannot login as root on Ubuntu. Maybe these have not used Slackware before. Simply run
[user@ubuntu:~]$ sudo passwd
to set a password for root, the super user. Then use that password to login as root:
[user@ubuntu:~]$ su root
and then enter the password you created. It's as simple as that!

Registered Linux User #370740 (http://counter.li.org)

2 comments:

  1. It may work. I hope it does.

    ReplyDelete
  2. Actually a better way is probably "sudo bash" so that you can run a shell as the super user...

    ReplyDelete