[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]


Jostein Elvaker Haande wrote:
Erik Jakobsen wrote:
I get this when I want to install:
erik@debian:~$ sudo apt-get install pico
erik is not in the sudoers file.  This incident will be reported.
How can I get rid of that problem ?

Hello Erik

The problem resides in the fact that your user 'erik' is not in the list
of allowed sudoers. To make this happen, log in as root and issue the
command visudo. This should bring up the editor vi where you have to add
yourself as a valid user. The following syntax can be applied.

erik	ALL=(ALL) ALL

Then save and exit vi by pressing ESC+:wq. You should now be able to use
the sudo command as your normal user 'erik'. Please keep in mind that
using the sudo command without caution can cause the same damage as
carelessness when logged in as root.

Good luck!

Many thanks Jostein

Reply to: