Posted by & filed under Linux.

After my recent experience with broken su and sudo commands in a failed system upgrade, I realized that although disabling the root account has many advantages, one of the disadvantage is that I can’t login as root in the terminal when I’m physically in front of the system. This is a major issue if su, sudo, and passwd binaries are broken somehow. Luckily, chroot was there to the rescue for me. Now, I contemplate whether I should enable the root account on my systems…

### One Response to “Enable root account in Ubuntu?”

1. #### June Tate-Gans

There’s a better way: add the word “single” to the end of your kernel command line in GRUB when you need to maintain the system as root.