0

I have a friend that's running Debian and his computer login password is different from the superuser password. I was wondering if there's a way to do this in Ubuntu?

1

1 Answer 1

4

Technically, they are already different, only the root account is disabled. That's really the difference. Ubuntu has a rather strong stance on this subject, and they insist sudo is the way to go, rather than having a separate root account. So they disable it.

If you really want to have a root account like Debian, it's quite easy:

sudo -i
sudo passwd root

and then set a password. This will be the password you use when you do su.

If you want to go crazy with it, you might be inclined to remove yourself from the sudo group with:

sudo deluser username sudo

Please make sure you understand the implications of these changes. Read the wiki page linked above.

3
  • happy to help!!
    – wxl
    Commented Sep 2, 2014 at 17:12
  • Even Debian is advising the use of sudo (see wiki.debian.org/Root). sudo have a long list of advantages over su (as given in the link).
    – Panther
    Commented Sep 2, 2014 at 17:29
  • Well, I haven't used Debian in a long time. I know FreeBSD is still using root.
    – wxl
    Commented Sep 2, 2014 at 19:11

Not the answer you're looking for? Browse other questions tagged .