LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-13-2006, 06:36 PM   #1
whohears
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
root can access internet, no other user can


hi all. when i'm logged on as root, I can access the internet with no problem. logged in as any other user then Mozilla just churns and churns and finally pops out with a "timed out" message. happens every single time.


I am running red hat distribution. not sure what version but at least 9 months old. ethernet is 3Com 3c590.

when I run cat...resolv.conf and ifconfig I get the following output .

Code:
[root@dentate /]# cat etc/resolv.conf
; generated by /sbin/dhclient-script
search dhcp.swmed.org
nameserver 199.242.236.1
nameserver 199.242.237.1
nameserver 199.165.152.235


[root@dentate /]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:08:74:41:E0:18
          inet addr:129.112.204.91  Bcast:129.112.204.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:86749 errors:0 dropped:0 overruns:1 frame:0
          TX packets:2643 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:28593107 (27.2 Mb)  TX bytes:754810 (737.1 Kb)
          Interrupt:11 Base address:0xe880

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8676 (8.4 Kb)  TX bytes:8676 (8.4 Kb)
any idea what my problem is? thanks in advance for the help

Geoff
 
Old 09-13-2006, 06:43 PM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,597

Rep: Reputation: Disabled
Do you have any security/firewall software running?

Brian
 
Old 09-13-2006, 07:30 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Sounds like either a permission problem or a script that root runs and a user does not.
What gui you running?

Have you logged in as root then logged out and back to a user with no reboot in between?
If so can the user access the internet?

Run the browser from the command line and see if errors come up on the command line.

You posted the info from the commands as root. Post the output as the user.

Brian1

Last edited by Brian1; 09-13-2006 at 08:27 PM.
 
Old 09-13-2006, 08:25 PM   #4
whohears
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by BCarey
Do you have any security/firewall software running?

Brian
dont think so
 
Old 09-13-2006, 08:33 PM   #5
whohears
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Brian1
Sounds like either a permission problem or a script that root runs and a user does not.
What gui you running?
that's kinda what I thought. I am embarrassed to say I do not know what gui it is. I will research tomorrow and respond.

Quote:
Originally Posted by Brian1
Have you logged in as root then logged out and back to a user with no reboot in between?
If so so the user access the internet?
I think I've done this but I will try again and post results.

Quote:
Originally Posted by Brian1
Run the browser from the command line and see if errors come up on the command line.
I'll figure out how to do this and post tomorrow.

Quote:
Originally Posted by Brian1
You posted the info from the commands as root. Post the output as the user.
Brian1
the cat....resolv.conf gives me exact same response. unfortunately, I can't run ifconfig from a user login. It tells me command not found. Is it a root only command?

thanks for all the tips and I'll post my findings tomorrow.
 
Old 09-14-2006, 06:32 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
For the ifconfig command you need to use the full path to the command. Normally /sbin is not part of a default users path so use the command ' /sbin/ifconfig '

Brian1
 
  


Reply


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 01:17 PM
Can only access internet as root XcuseMe Linux - Networking 1 10-22-2004 11:41 AM
user kublador cannot access the internet but root can.. why? kublador Slackware 2 08-27-2004 11:04 PM
why cannot access the internet as root? FarAway Linux - Newbie 2 08-04-2004 03:15 PM
Internet access on root bot not on user Focalpoint Linux - Newbie 3 07-06-2004 11:33 AM


All times are GMT -5. The time now is 04:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration