Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-06-2004, 10:14 AM   #1
LQ Newbie
Registered: Jul 2004
Distribution: Slackware 10
Posts: 20

Rep: Reputation: 0
Internet access on root bot not on user

I can trigger an adsl connection form root console but uder user programs
still don't see any connection. I suppose the problem is trivial, where can I set
something so that my 'user' can have access to the internet...

Still working from root ;>

Greetz :-)
Old 07-06-2004, 10:22 AM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Use 'sudo'. Wrap up what you do to connect in a shell script, and have your user use sudo to call it: 'sudo [theshellscript]'. You will need to edit the /etc/sudoers file with the visudo command ('visudo' by itself) for it to work.
Old 07-06-2004, 10:22 AM   #3
Registered: Jul 2004
Location: Parts Unknown
Distribution: Arch
Posts: 377

Rep: Reputation: 30
What do you do to "trigger" the connection? If you can do it from a root console, does using a root console from within a user session work?
Old 07-06-2004, 10:33 AM   #4
LQ Newbie
Registered: Jul 2004
Distribution: Slackware 10
Posts: 20

Original Poster
Rep: Reputation: 0
To trigger a connection I need to type form root or root console 'adsl-setup'.
When from user I run a console, then su - and get root and from root 'adsl-setup'
it connects, but programs form user such as Kadu (communicator popular in my
country) still doesn't see internet connection.
I will try to use visudo...


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 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
Can only access internet as root XcuseMe Linux - Networking 1 10-22-2004 10:41 AM
user kublador cannot access the internet but root can.. why? kublador Slackware 2 08-27-2004 10:04 PM
why cannot access the internet as root? FarAway Linux - Newbie 2 08-04-2004 02:15 PM
internet access only in root chilehead Linux - General 17 11-03-2003 05:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 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