> I have been trying to get a small dock app ("wmppp") to work. I am
> very close but have run into 1 problem that I believe is my final road
> I get the following message whenever I try to connect using the
> script I have set up:
> /usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is
> not setuid-root
> Is "setuid-root" a compile time option, or can I set this someplace
No, it is not a compile time option. If you run any non setuid program,
then the binary will run with your UID and with rights associated with
you. So, for example, if as a non-root user you run a program which
needs to set some system resources you cannot do much since the program
will run with your UID. PPP is a program which needs the suid bit since
it has to bring up the ppp interface and to change the routing table.
(Imagine if anybody could mess with the routing table, or if anybody
could open /dev/hda with fdisk.) If the setuid bit is set on a program,
then the program will run with the privileges of the account which was
used to set the suid bit. If it was root, then the program will have
root rights irrevelant who runs it. (sort of.) The PPP-HOWTO discusses
how to set the setuid bit, and it is a good piece ow writing so I
recommend you to read it.
Setuid can be set with the chmod program. For pppd, it is
chmod u+s /usr/sbin/pppd
executed by root.
Looking for a job in British Columbia.