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

Re: PPP-Dialup: ioctl(PPPIOCGUNIT): Operation not permitted



> I'm in the group dip and all files in /etc/ppp, /etc/ppp.chatscript, pon
> and poff are owned by dip.

A normal Debian installation has no /etc/ppp.chatscript.

/etc/chatscripts and /etc/ppp/ should be owned by root but in the dip
group:

drwx--x---   2 root     dip          1024 Dec 22 17:47 /etc/chatscripts/
drwx--x---   5 root     dip          1024 Feb 20 15:40 /etc/ppp/

The files in /etc/chatscripts/ should be likewise:

-rw-r-----   1 root     dip           176 Oct 29 19:46 provider

With the exception of peers, the files in /etc/ppp should be owned by root
and in group root:

-rw-------   1 root     root           69 Mar  1  1998 chap-secrets
-rwxr--r--   1 root     root         1454 Feb 25  1998 ip-down
drwxr-xr--   2 root     root         1024 Feb 28 16:59 ip-down.d
-rwxr--r--   1 root     root         1452 Feb 25  1998 ip-up
drwxr-xr--   2 root     root         1024 Feb 28 16:59 ip-up.d
-rw-r--r--   1 root     root           85 Mar  1  1997 no_ppp_on_boot
-rw-------   1 root     root         9678 Dec  5 22:56 options
-rw-rw-r--   1 root     root          900 Sep 24 11:02 options.ttyS2
-rw-------   1 root     root          385 Sep 28 10:53 pap-secrets
drw---x---   2 root     dip          1024 Dec 22 17:47 peers

Note that /etc/ppp/peers is owned by root but in group dip.

The files in /etc/ppp/peers should be owned by root but in group dip:

-rw-r-----   1 root     dip           217 Dec  5 22:58 provider

'pon' and 'poff' should be owned by root, in group root, and executable by
anyone:

-rwxr-xr-x   1 root     root         2712 Dec 27 15:31 /usr/bin/poff
-rwxr-xr-x   1 root     root           45 Jun 18  1998 /usr/bin/pon

pppd should be owned by root, in group dip, and setuid:

-rwsr-xr--   1 root     dip        105532 Jun 18  1998 /usr/sbin/pppd

> The entry for dip is only in gshadow, not in passwd or passwd-

dip is a group, not a user.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI



Reply to: