How do I set the root password so I can use su instead of sudo?
Posted
by
Zignd
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Zignd
Published on 2012-06-24T03:10:04Z
Indexed on
2012/06/24
9:23 UTC
Read the original article
Hit count: 239
Warning: Directly logging in as root is like playing with fire, because one little typo is enough to lose critical data or make your system unbootable. Note that desktop environments will also function incorrectly if you login to them as root.
See these questions for the reasons behind why
sudo
is preferred and why root-login is disabled by default:
Instead of letting you set a password for root during install Ubuntu set it to * for no password and disables the actual account login, however even with this being said you can still use root in ubuntu by sudo.
So how to set a root password on Ubuntu?
© Ask Ubuntu or respective owner