Re: udev: chown of /dev/ppp
On Sun, 18 Jul 2010, "Hans-J. Ullrich" <firstname.lastname@example.org> wrote:
> Sorry. if I am wrong, I am not very well experienced with the required
> access rights. The background of my report is, that I tried to start the
> application "umtsmon" (a dialout application for 3g-modems) as a normal
> user, and I found no way to start it as no one else as root. The main
> problem is: It MUST be started as root, as /dev/ppp has to be accessed by
> root. In other words: If
The pppd needs to configure routes and also launch scripts from /etc/ppp/ip-
up.d/ as root. Simply changing the group permissions of /dev/ppp isn't going
to do what you desire.
By default /usr/sbin/pppd in Debian is SUID root and executable by group dip,
so adding the user in question to group dip will do what you want.
Also there is the option of configuring sudo to permit running pppd, sudo can
be configured to allow this without requiring a password.
http://etbe.coker.com.au/ My Main Blog
http://doc.coker.com.au/ My Documents Blog