Complete.Org: Mailing Lists: Archives: discussion: September 1999:
[aclug-L] Re: starting pppd by a normal user

[aclug-L] Re: starting pppd by a normal user

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: [aclug-L] Re: starting pppd by a normal user
From: j m wagle <jmwagle@xxxxxxxxxxxxx>
Date: Tue, 21 Sep 1999 23:01:55 -0500
Reply-to: aclug-L@xxxxxxxxxxxx

thanks for the info... I got sudo downloaded, installed and working,

I made my users ALL=(ALL), 

if you only wanted a user, 'gina' to be able to do (for example)
"pppd and killall pppd" commands, how would you phrase the 'sudoers'
command line?

thanks in advance,,
mike wagle

Jeff wrote:
> In case it helps, I attached the 'ppp' script I use with 'sudo'.
> /usr/local/bin/ is in my $PATH, so I do:
> $ sudo ppp start
> and wait until I hear the beep/see the wall message.
> When I want to pull it down,
> $ sudo ppp stop
> Included inline are /etc/ppp/ip-down.local and /etc/ppp/ip-up.local.
> They get called by ip-down and ip-up (in /etc/ppp) respectively.
> ip-down.local:
> #!/bin/sh
> wall "ppp down"
> ip-up.local:
> /etc/rc.d/init.d/xntpd start >/dev/null 2>&1 &;
> /usr/bin/wall "ppp up"
> -jeff
--- snip ---

[Prev in Thread] Current Thread [Next in Thread]