LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can only access internet as root (https://www.linuxquestions.org/questions/linux-networking-3/can-only-access-internet-as-root-245970/)

XcuseMe 10-22-2004 10:38 AM

Can only access internet as root
 
Greetings

I'm new to Linux but the last two days I spent reading How To's on getting access to the Internet. Downloading RPM's, kernel mod, I'm learning here!

I managed to connect to the Internet with ADSL as root user. But as a normal user I get only an error.
I use a VPN with pptp on Red Hat 8. Did nothing fancy after the clean install, were only busy trying to get ADSL running.

The command I use to start is:
# /usr/sbin/pptp 10.0.0.138 file /etc/ppp/options.adsl

As root this works fine, no problems, as normal user I get:

$ /usr/sbin/pptp 10.0.0.138 file /etc/ppp/options.adsl
anon warn[pptp_gre_bind:pptp_gre.c:79]: socket: Operation not permitted
anon fatal[main:pptp.c:228]: Cannot bind GRE socket, aborting.

Someone suggested to put a SUID on /usr/sbin/pppd
That did not do the trick, same message appeared.

Spend the last two hours searching for answers on the Internet. Can someone put me out of my misery? (no bullets allowed)

ToniT 10-22-2004 10:41 AM

Can't you just run that in your startup scripts? You don't have to be root to use internet after that command, have you?


All times are GMT -5. The time now is 06:15 AM.