[Techtalk] wvdial, pppd, and permissions insanity

Carla Schroder carla at bratgrrl.com
Sat Oct 15 04:53:35 EST 2005


On Friday 14 October 2005 9:19 am, Akkana Peck wrote:
> Carla Schroder writes:
> [Debian]
>
> > -rwsr-xr--  1 root dip 232536 Dec 30  2004 /usr/sbin/pppd
>
> [CentOS]
>
> > -r-x-xr-x 1 root root 250996 Feb 21  2005 /usr/sbin/pppd
>
> [ ... ]
>
> > To get wvdial and wvdialconf to work I have to  chmod 4755 (ooo suid,
> > what a good idea :P.) Assigning groups doesn't matter- for example,
> > putting wvdial
>
> I notice on Debian you have pppd as setuid, but on CentOS you don't
> (you seem to have dropped a character from your CentOS ls -l, 

Nope, that's the default. And I tried suid on pppd on CentOS, to no avail. And 
adding write permissions just for kicks.

>
> (I also wondered what the difference was between group dip and group
> dialout on Debian, but I guess it doesn't matter since pppd sets the
> uid to root, not the gid to dip.)
>

I dunno. All I know is I have a desire to shoot innocent computers because of 
this. :)
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
http://www.tuxcomputing.com
check out my new book, the "Linux Cookbook", the ultimate Linux user's 
and sysadmin's guide! http://www.oreilly.com/catalog/linuxckbk/
this message brought to you
by Libranet 3 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Techtalk mailing list