Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-28-2004, 09:15 AM   #1
LQ Newbie
Registered: Apr 2004
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Only root can use and connect to the internet

Uhh... so.. when I try to connect to the internet (with adsl-start),
I get a message that says that only root can run the script.

So, I run the command as root, and it connects successfully.
I can then start chatting at IRC (err, actually not >_<),
browsing websites, ping computers etc.

But when I change back to my normal user, I cannot use the internet.

Any suggestions?

Distro: Slackware

(I found something here about using sudo, but I get an
syntax error when I try to run it...)

EDIT: Could post this in the "Networking"-section... But I forgot >_<

Last edited by VerTiCal; 04-28-2004 at 10:24 AM.
Old 04-28-2004, 05:07 PM   #2
LQ Guru
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,876

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
"Uhh... so.. when I try to connect to the internet (with adsl-start),
I get a message that says that only root can run the script."

This is a permissions problem, probably with the permissions for adsl-start. You can find out where adsl-start is located with:
which adsl-start

Then use the chmod command to give users permission to execute adsl-start. Something like:
chmod 755 /pathname/adsl-start

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 04-28-2004, 06:25 PM   #3
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Try changing mod to the script. Use command:

chmod +s adsl-start

That will make the command be run as root every time it is started, no matter by which user it is started. In terminal it will be colored red if you ls -la the directory it is in.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you connect to internet as normal user without run pppd as root ? nasty_daemon Linux - Networking 2 09-13-2005 01:43 AM
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Is there anyway to connect to the internet without root privilages? captainfreedom Linux - Newbie 2 02-28-2005 10:59 AM
Only root can connect to the internet astronaut3000 Linux - Networking 2 07-25-2004 03:06 PM
Only root can use and connect to the internet VerTiCal Linux - Networking 17 04-30-2004 03:10 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:14 AM.

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