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?
Asked
Active
Viewed 635 times
0
-
See Why is there no option to login as root? – user68186 Sep 02 '14 at 17:13
1 Answers
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.
-
-
Even Debian is advising the use of sudo (see https://wiki.debian.org/Root). sudo have a long list of advantages over su (as given in the link). – Panther Sep 02 '14 at 17:29
-
Well, I haven't used Debian in a long time. I know FreeBSD is still using root. – wxl Sep 02 '14 at 19:11