On Sat, 17 Jul 1999, Evert Verhellen wrote:
|It seems that I have found my problem. Thanks for all feedback. When I
|login as root the connection does work :-) so all my scripts were right.
|For safety reasons I don't want to be root all the time so I normally
|login as myself (evert). In order to start the connection I use the su
|command (in a terminal window) to become root and then I launch the
|/etc/ppp/ppp-on script (in the same terminal window). In this situation
|the connection still won't work :-( I guess this problem is somehow
Try doing "su -" which provides a normal login for root, including all
the root directory paths.
|related to file permissions. How should I solve this if I don't want to
|login as root every time?
With the ppp-on script? Make pppd suid, "chmod 4755 /usr/sbin/pppd", and
make sure that chat is invoked in the ppp-on-dialer script with the full
path name, "/usr/sbin/chat ...". I'm assuming this is the ppp-on script
that invokes pppd and calls a ppp-on-dialer script. Finally make sure
ppp-on is on the paths available to the non-root user, perhaps with a
symbolic link in the /usr/bin directory to /usr/sbin/chat.
Please, no "security hole" cries unless you are prepared to describe
exactly what the holes are - with examples.
---
Clifford Kite Not a guru. (tm)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]