On 07-Feb-99 Ray Olszewski wrote:
> Quoting from chapter 11 of the PPP HowTo
> (http://metalab.unc.edu/LDP/HOWTO/PPP-HOWTO-11.html):
> 
> "If users other than root are to set up PPP connections, the pppd program
> should be setuid root :-
> 
>     -rwsr-xr-x   1 root     root        95225 Jul 11 00:27 /usr/sbin/pppd
> 
> "If /usr/sbin/pppd is not set up this way, then as root issue the command:-
> 
>     chmod u+s /usr/sbin/pppd
> 
> "What this does is make pppd run with root privileges even if the binary is
> run by an ordinary user. This allows a normal user to run pppd with the
> necessary privileges to set up the network interfaces and the kernel routing
> table."
> 
> There are some additional details, but you can consult the HowTo directly
> for them.

If this is a problem, you can make a group 'ppp' and then change the ownership
of the pppd executable to root.ppp and then put the users allowed to use PPP in
that group.  If you cange the group ownership of the pppd file, you will need
to make it suid root once more (changing the group ownership will remove the
suid bit, that's why).

--
Andrew

Reply via email to