[aclug-L] Re: starting pppd by a normal user
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Jeff:
thanks for the info... I got sudo downloaded, installed and working,
only....
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 ---
- [aclug-L] xconfig crashes, phrostie, 1999/09/18
- [aclug-L] Re: xconfig crashes, Jonathan Hall, 1999/09/18
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/19
- [aclug-L] Re: starting pppd by a normal user, j m wagle, 1999/09/19
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/19
- [aclug-L] Re: starting pppd by a normal user,
j m wagle <=
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/22
- [aclug-L] Re: starting pppd by a normal user, Jeff, 1999/09/22
[aclug-L] Re: xconfig crashes, Jeff, 1999/09/19
|
|