0

I accidentally removed the default user system, ubuntu, from the sudo group. How can I do to regain root access?

Thanks.

0

1 Answer 1

0

You can set new password for root user using this link

After that go back to your system

Use:

su root

and enter password you set on previous step

Then this one to add your user to sudo

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