LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2004, 10:38 AM   #1
XcuseMe
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 8
Posts: 1

Rep: Reputation: 0
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)
 
Old 10-22-2004, 10:41 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
restrict internet access to the root only anubhuti_k Linux - Security 1 02-15-2005 12:59 AM
why cannot access the internet as root? FarAway Linux - Newbie 2 08-04-2004 02:15 PM
Root password for internet access jsin Red Hat 2 01-02-2004 03:29 AM
internet access only in root chilehead Linux - General 17 11-03-2003 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration