1

How to add self to sudoers list?

view story
linux-howto

http://unix.stackexchange.com – I've added myself into the sudoers users list by using the command root@debian:/home/oshirowanen#adduser oshirowanen sudo If I try to run that command again, root@debian:/home/oshirowanen# adduser oshirowanen sudo The user `oshirowanen' is already a member of `sudo'. root@debian:/home/oshirowanen# All looks good so far. When I then exit the root user and try to install/remove/search something using my own account, it doesn't work and complains that I am not a sudoer... For example root@debian:/home/oshirowanen# exit exit oshirowanen@debian:~$ sudo aptitude search ice [sudo] password (HowTos)