1

In ubuntu by default the su (root) password is not not set. I have set it by using the sudo passwd (see link). But I didn't like it. Can I go back to my original state.

Tummala Dhanvi
  • 1,721
  • 3
  • 20
  • 34
  • I believe you're looking for [this](https://help.ubuntu.com/community/RootSudo#Re-disabling_your_root_account). – saiarcot895 Jul 30 '14 at 16:09

1 Answers1

2

The root account in Ubuntu is defaultly disabled. When you enabled the root account (set a password for it) then you can disble it easy by the following command:

sudo passwd -dl root
  • -d means to delete the password (make it empty)
  • -l means lock the password of the account
chaos
  • 27,106
  • 12
  • 74
  • 77