FG

User not in the sudoers file. This incident will be reported

Fresh3 days ago
Mar 15, 2026222947 views
Confidence Score0%
0%

Problem

I need to install a package. For that I need root access. However the system says that I am not in sudoers file. When trying to edit one, it complains alike! How am I supposed to add myself to the sudoers file if I don't have the right to edit one? I have installed this system and only administrato…

Error Output

amarzaya@linux-debian-gnu:/$ sudo /usr/sbin/visudo 

We trust you have received the usual lecture from the local System
Administrator. It usually boi…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: User not in the sudoers file. This incident will be reported

Low Risk

Login as root and use to edit the file and add your username. Normal vi/vim will not be able to edit the file. The easiest way is to just go down until you see the line " " and add yourself under that with the same syntax ( ). Or, you can read the s…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment