>
> hi,
>
> I have three computers in my lan:
>
> 2 windows 9x workstations
> 1 linux internet server
>
> I configured the internetserver, so I have to establish the internet
> connection (as root) manually. (/etc/ppp/ppp-on, ppp-on is a script, that
> calls "chat").
> everything works fine so far.
> but I want to do it better.
>
> how is it be done, that every user (and not only just root) can establish
> an internet-connection ?
>
> I downloaded "diald 0.99.1" and installed it. I have written the
> /etc/diald.conf file etc...
> I want to configure diald that it establishs automaticly the internet
> connection when someone within my lan trys to "browse" sowewhere.
> but how is this be done ? at the moment diald does absolute nothing when
> someone trys to connect to the internet.
> the onlythig that works is "diald up" (as root).
> I think I have to modify "/usr/lib/diald/diald.defs", but how is this be
> done ?
>
> bye,
> klaus
>
>
>
> --------------------------------------
> Do, or do not...There is no try.
> --------------------------------------
>
I'm not to famliar with diald, but if you are writeing chat scripts you are
using the ppp daemon. As root do a which pppd, cd to that directory and do
a chmod 4755 pppd. verify root owns it, if not do a chown root pppd.
login as a normal user and testit.
This sets the "ID bit" to root, so when a normal user runs the program it is
really run under uid 0, and can do anything uid 0 can do. IE it can write,
delete or read any file it pleases. If the program wants to delete every
files on your hard drive it can, provide the program has "that" coded into it
, which most, if not all, include pppd, don't.
Some say it is a security risk, but if you know or you are all the users on
the system and it is fairly closed it shoulded be a problem.