Re: Red Hat 7.3: user access to ppp without root password

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tony Wasson
Date:  
To: plug-discuss
Subject: Re: Red Hat 7.3: user access to ppp without root password
Ronald Jacobowitz wrote:
> In Red Hat 7.3, a user trying to launch a ppp connection is first asked
> to enter the root password.
>
> Is it possible to configure the connection (or create a new one) so as
> not to require this password?
>


It is possible to do something like this using "setuid root".

First, find the path to your pppd binary.
find, locate or whereis may help. Default path is /usr/sbin/pppd

Next, use chmod to turn on setuid root.
#chmod +s /usr/sbin/pppd

Finally, verify permissions (and groups) on your pppd binary
   #ls -lsa /usr/sbin/pppd
228 -rwsr-xr--    1 root     dip        230604 DATE /usr/sbin/pppd


You may need to add the users who need pppd access to a group. On my
system, this is the "dip" group. Others use a "ppp" or "dialout" group.

P.S. Alternately you can use "sudo" to grant this kind of access.

Tony Wasson
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss