>I have a similar question.  I want to use ezppp as a non-root user, but i
>get a message saying:

If I were you, I wouldn't setuid pppd, instead, I would use sudo.

I run a 5.0 machine, and after installing all of the errata, and sudo, I
found that visudo (/etc/sudoers editor) runs as expected now.

Here's what my /etc/sudoers file looks like:

-- begin /etc/sudoers --
# Cmnd alias specification
Cmnd_Alias SHUTDOWN=/sbin/shutdown,/sbin/halt
Cmnd_Alias PPP=/usr/local/sbin/ppp-off,/usr/local/sbin/ppp-on
Cmnd_Alias USER=/usr/sbin/useradd,/usr/sbin/userdel,/usr/sbin/usermod
Cmnd_Alias GROUP=/usr/sbin/groupadd,/usr/sbin/groupdel \
                 /usr/sbin/groupmod

# User privilege specification
root    ALL=(ALL) ALL
leek    ALL=NOPASSWD:SHUTDOWN,NOPASSWD:PPP,NOPASSWD:USER, \
        NOPASSWD:GROUP
-- end /etc/sudoers --

...as you can see, I don't have to log in as root (or even type in root's
password) to do routine stuff like firing up my ppp-on script, adding users,
etc.

Holler if you'd like more details....

--
Lee Kirby
Portland, OR


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to