I am trying to set up ppp on my linux system. As root, it works ok,
but it doesn't work for normal users. I have made pppd setuid with
chmod a+s pppd. When a user calls ppp-on, the modem dials, connects,
and chat is run.
In the syslog the following messages appear:
pppd: pppd 2.2.0 started by erik, uid 500
ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
pppd: Serial connection established.
pppd: ioctl(PPPIOCGUNIT): Operation not permitted
pppd: ioctl(PPPIOCGDEBUG): Operation not permitted
The ppp-on script calls /etc/sysconfig/network-scripts/ifup-ppp ppp0
ppp is configured by the redhat network configurator.
I use linux 2.0.27, pppd 2.2.0f