(SOLVED) User is not in the sudoers file. Need help.

Archived topics about LMDE 1 and LMDE 2
Locked
raidensub

(SOLVED) User is not in the sudoers file. Need help.

Post by raidensub »

Hi to all. I need some help. I wanted to use the incoming repo in a new install. I did a clean install using debian-6.0.4-i386-xfce+lxde-CD-1.iso and selecting lxde for DE. Then using the incoming repo i updated the system and installed the great cinnamon. My problem is that when i try sudo commands i get this:

(user) is not in the sudoers file. This incident will be reported.

Can anyone help? The guides i find online suggest to edit visudo and add =ALL for my user but i think this isn't right.
Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
squeezy

Re: User is not in the sudoers file. Need help.

Post by squeezy »

Type this into a terminal...

Code: Select all

su

(supply root password)

adduser your_username sudo
Log out and log back in.
raidensub

Re: User is not in the sudoers file. Need help.

Post by raidensub »

Thanks. Sudo is fixed.
Locked

Return to “LMDE Archive”