On Sat, 10 Apr 1999, Jim Ewald wrote:

> After I connect and login to my ISP, diald launches PPPD. For reasons I
> cannot explain, when pppd starts up, it insists on using the default
> control file and seems to ignore the pppd-options in my /etc/diald.conf
> file. 

pppd always loads its options form /etc/ppp/options for security reasons: 
that enables ordinary users to start pppd without security problems.  The
recommended strategy is to comment out most of the entries in
/etc/ppp/options, but unfortunately that prevents you from using pppd
easily, and may cause the security problems that /etc/ppp/options was
meant to prevent in the first place. 

Since diald is running as root, it should be able to override the default
pppd options file, or override the nasty options (I just checked, it
doesn't seemt to be able to override crtscts/xonxoff/-crtscts, lock,
connect, and a few others, and it doesn't look like the default options
file can't be overridden, and I'm too lazy to check the source right now). 

I wonder whether we could patch pppd to add a diald option that would
cause it to ignore bad options.  Or maybe we could chroot before calling
pppd.  Or maybe we don't need pppd at all, we could roll our own pppd
since the kernel does most of the work anyway.  None of those ideas is
totally satisfactory ... just some thoughts.

Ed






-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to