I was trying to give my user (lenz) root privileges for running commands.
So I edited the sudoers file in /etc using gedit, and I added lenz ALL=(ALL:ALL) ALL to the sudoers.
But I made an error any mistyped "lenz" for lenzi... Now my user (lenz) is not in the sudoers file anymore. When I try to edit the sudoers file, it:
lenz is the only user (other than root) on this system.Code:lenz@lenz-Studio-1537:~$ sudo visudo /etc/sudoers [sudo] password for lenz: lenz is not in the sudoers file. This incident will be reported.
How could I solve this problem? I'd need to log in as root and edit the sudoers file again, right?
Help me please...