0

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

Thanks.

Mr. Nico
  • 1
  • 1

1 Answers1

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

c0rp
  • 9,700
  • 2
  • 38
  • 60