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

Posted by Sergiy Byelozyorov on Super User See other posts from Super User or by Sergiy Byelozyorov
Published on 2010-03-15T22:55:51Z Indexed on 2012/07/08 15:18 UTC
Read the original article Hit count: 221

Filed under:
|
|

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 I am 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 administrator. What can I do?

Edit: I have tried visudo already. It requires me to be in sudoers in the first place.

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

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for amarzaya: 
amarzaya is not in the sudoers file.  This incident will be reported.
amarzaya@linux-debian-gnu:/$ 

© Super User or respective owner

Related posts about linux

Related posts about sudo