LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   root can access internet, no other user can (https://www.linuxquestions.org/questions/linux-newbie-8/root-can-access-internet-no-other-user-can-483251/)

whohears 09-13-2006 05:36 PM

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

BCarey 09-13-2006 05:43 PM

Do you have any security/firewall software running?

Brian

Brian1 09-13-2006 06:30 PM

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

whohears 09-13-2006 07:25 PM

Quote:

Originally Posted by BCarey
Do you have any security/firewall software running?

Brian

dont think so

whohears 09-13-2006 07:33 PM

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.

Brian1 09-14-2006 05:32 PM

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


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