[nzlug] OMG, I can no longer run 'sudo' !

Sid Bachtiar sid.bachtiar at gmail.com
Sat Aug 12 11:14:40 NZST 2006


>On 8/12/06, Craig Box <craig at dubculture.co.nz> wrote:
> sid adm dialout cdrom floppy audio dip video plugdev lpadmin scanner
> admin
>
> It is membership of the 'admin' group that grants you sudo access.
>
> Sorry for cocking this up for you!
>
> Craig

No worries, I'm just learning and this is only an experimental machine :)

so now I should do:

sudo usermod -a sid sid
sudo usermod -a adm sid
sudo usermod -a dialout sid
...

?


By the way, one of the thing I tried to fix this was to boot as
recovery then type visudo and add the following line:

sid ALL=(ALL) ALL

then I did 'sudo usermod -G admin sid'

now I can do sudo, but perhaps I should remove the visudo line?

All this shell commands making me feel like Im a hacker already :P
-- 
http://sid.homelinux.com/blog




More information about the NZLUG mailing list