On Tue, 04 Mar 2003, Jack Pistachio wrote:

> I'm trying to allow certain users to have dialup
> priveledges from debian.  I use wvdial to connect as root. 
> I've tried addgroup dialout USERNAME.  The user can
> successfully dialout with wvdial, but once pppd is started
> it exits with error code #2.  From man pppd this code
> corresponds to mutually exclusive options being passed to
> pppd.  Doesn't really make sense to me since root probably
> passes the same options to pppd when using wvdial
> successfully.  Finally, I have pppd setuid as per the pppd
> docs.
> 
> What is missing here?

Try in /etc/sudoers:

userwithnoname  ALL = NOPASSWD: /usr/bin/wvdial


Oliver
-- 
... don't touch the bang bang fruit

http://www.wreckingpit.com
http://www.wattzap.com
http://www.rocknrollpurgatory.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to