sudo use

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: sudo use
Am 04. Dec, 2003 schw=E4tzte Michael Havens so:

> How do you add a user to the sudo file and how does one use sudo? I tried
> 'sudo <comand>' but it responded that my user wasn't in that list and tha=

t I
> would be reported (ouhhhh I'm scared now). I assume I was correct in my u=

sage
> but lets ask to make sure.


If you're still using a Knoppix install you can add the user to the sudo
group.

grep "username" /etc/group

username being the name of the user you want to change.

usermod -G sudo username

If the grep returned a bunch of groups add them to 'sudo' with commas and n=
o
spaces, e.g. 'sudo,dialout,users,audio'.

Jeremy's suggestion is the usual route, though.

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  We now return you to your regularly scheduled paranoia...