[NTLUG:Discuss] Sudo

MadHat madhat at unspecific.com
Tue Feb 19 07:52:37 CST 2002


On Mon, 2002-02-18 at 23:12, kbrannen at gte.net wrote:
> MadHat wrote:
> 
> > On Mon, 2002-02-18 at 19:08, Bobby Sanders wrote:
> ...
> >>
> >>The relevant portion of my /etc/sudoers is:
> >>
> >>User_Alias      PPP = u1, u2, u3
> >>
> >>PPP     ALL = NOPASSWD: /usr/bin/kppp
> >>
> ...
> > 
> > type
> > sudo kppp
> > and nothing else...  see if that works.
> 
> 
> If it doesn't, you'll probably have to do "sudo /usr/bin/kppp".  I've found 
> sudo to be very picky about having the command typed in exactly as it is in 
> the sudoers file.

I have only had that problem when another copy of the file is found in
your path before the one listed in /etc/sudoers, but that is a whole
other problem.

I personally, on my notebook, have a 
%wheel	ALL=(ALL)	ALL
Which means any user in the "wheel" group can run any app as root. 
Since I am the only one who uses it, and it logs all commands, it is
easiest.  I use similar things on my other boxes as well for system
administrators, but tighten it down for people who only need to limited
things as root.

> 
> Kevin
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 
-- 
MadHat at Unspecific.com
gpg --keyserver wwwkeys.us.pgp.net --recv-keys 9DDC3E98
Key fingerprint = E786 7B30 7534 DCC2 94D5  91DE E922 0B21 9DDC 3E98





More information about the Discuss mailing list