[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1709: /usr/sbin/pppd needs to be setuid (chmod u+s)



Package: ppp
Version: 2.2-1

The pppd executable needs to have the setuid bit set when it is installed.

Otherwise you get the kind of errors listed below at the end.

These lines in the ppp.deb source pppd/Makefile are correct, but somehow they
aren't percolating into the right actions in the Debian package:

----------
install: pppd
	mkdir -p $(BINDIR)
	install -c -m 4555 -o root pppd $(BINDIR)/pppd
---------

-----------------
bash# dpkg -i ppp-2.2-1.deb
(Reading database ... 19738 files and directories currently installed.)
Preparing to replace ppp (using ppp-2.2-1.deb) ...
Unpacking replacement ppp ...
Setting up ppp ...

bash# ls -la /usr/sbin/pppd
-rwxr-xr-x   1 root     root        90823 Oct  3 21:48 /usr/sbin/pppd
-------------

The errors are e.g.:
-----------
Oct 19 20:10:15 aleph kernel: registered device ppp0
Oct 19 20:10:15 aleph pppd[288]: pppd 2.2.0 started by swift, uid 501

[everything going fine here; we reach my provider, log in, etc.]

Oct 19 20:10:36 aleph pppd[288]: Serial connection established.
Oct 19 20:10:37 aleph pppd[288]: ioctl(PPPIOCGUNIT): Operation not permitted
Oct 19 20:10:37 aleph pppd[288]: ioctl(PPPIOCGDEBUG): Operation not permitted
Oct 19 20:10:37 aleph pppd[288]: Exit.
------------


Reply to: