LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-11-2012, 11:55 AM   #1
omizt
Member
 
Registered: Feb 2012
Posts: 56

Rep: Reputation: Disabled
Unhappy root account can access the internet, the other account can only access google


I am w newbie. Now this computer have 3 accounts. If I use the root account, I can access the internet with no problem. if I use the other two accounts, I can only access Google and Google products. Is anyone have some ideas about what happens here? Thank you!
 
Old 02-11-2012, 12:57 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
I am w newbie
Welcome to the forum!

Okay, let's put this in the experimental basket, but...use the root account as few times as possible, and please do not surf with this account. If you want to, I (and others better than me, no doubt) can explain...but, on to the matter at hand.

What distro do you use? What comes in the browser when the user tries to acccess anything else? What browser do you use?

Looking on to try to help...

Thor
 
Old 02-11-2012, 01:02 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
When they go to google, can they then access any other site from a search?


on clients use command line nslookup or dig www.somewebsiteotherthangoogle.com (you put in some or a few names)

There are a lot of unknowns here. Browser restrictions, topology that may limit it like proxy, proxy.pac files, maybe kiosk modes, iptables or other firewall or user limiting features.

I haven't heard of any stock distro that should act like this. I assume it has been modified to act like that.
 
Old 02-11-2012, 01:47 PM   #4
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
I am using Redhat Enterprise Linux Version 5.3 and Mozilla Firefox.
When I try to browse the other webpage, it shows "Failed to Connect. Firefox can't establish a connection to the server at "

I can see the search results of google, but when I try to access the other site from the search result, it will show the "Failed to Connect. Firefox can't establish a connection to the server at " again.
 
Old 02-11-2012, 01:50 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to disable ipv6.
http://thedaneshproject.com/posts/di...-in-firefox-3/
Make sure you have the correct dns servers in
/etc/resolv.conf

Kind regards
 
1 members found this post helpful.
Old 02-11-2012, 02:04 PM   #6
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
I checked the resolv.conf
there are 4 lines in this file.
first line is ";generated by /sbin/dhclient-script"
second line is "search" and then the right search domains.
the 3rd line and the 4th line are "nameserver", and the setting is the same with my other computer.

Is this setting correct?

Last edited by omizt; 02-11-2012 at 02:17 PM.
 
Old 02-11-2012, 02:06 PM   #7
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
I'd start to try to comment out everything that does not look like:

Quote:
nameserver [IP of the DNS servers of your provider]
...and only leave the nameservers...
 
Old 02-11-2012, 02:08 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to comment out the search part.
What happens if you use another browser?

Kind regards

Last edited by repo; 02-11-2012 at 02:11 PM.
 
Old 02-11-2012, 02:15 PM   #9
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by repo View Post
Try to disable ipv6.
http://thedaneshproject.com/posts/di...-in-firefox-3/
Make sure you have the correct dns servers in
/etc/resolv.conf

Kind regards
I disabled the ipv6 but still the same.
at the end of that poster, it says restart your browser. I just close the browser and start it again. Is that enough? should I restart my computer?
 
Old 02-11-2012, 02:16 PM   #10
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by repo View Post
Try to comment out the search part.
What happens if you use another browser?

Kind regards

you mean I install another browser?
 
Old 02-11-2012, 02:18 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
There are more browsers installed, take a look in the menu's.

Kind regards
 
Old 02-11-2012, 02:23 PM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to use the dns from google
8.8.8.8

Kind regards

Last edited by repo; 02-11-2012 at 02:29 PM.
 
Old 02-11-2012, 02:25 PM   #13
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
When they go to google, can they then access any other site from a search?


on clients use command line nslookup or dig www.somewebsiteotherthangoogle.com (you put in some or a few names)

There are a lot of unknowns here. Browser restrictions, topology that may limit it like proxy, proxy.pac files, maybe kiosk modes, iptables or other firewall or user limiting features.

I haven't heard of any stock distro that should act like this. I assume it has been modified to act like that.

I thought maybe I modified something by accident. I tried command dig, there is a long result, but I don't know what should I look for.
 
Old 02-11-2012, 02:29 PM   #14
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
I don't know why I can access the other websites when I am using the root account.
 
Old 02-11-2012, 02:30 PM   #15
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Okay, maybe one step at a time...let's go with repo's advice:

Quote:
Tr to use the dns from google
8.8.8.8
Do you know how to set this? If not, well, it's pretty simple:
- open a console
- issue "su -" (no excamation marks, the hyphen is part of the "spell")...
- enter the root password
- enter "gedit /etc/resolv.conf" and add the line "nameserver 8.8.8.8" (no exclamation marks)and save
- issue "exit" twice (one to get out of the root account, one to close the console)

Possible snag: resolv.conf may be somewhere else, in that case, try a sys-wide seek first...

Good luck

Thor

Last edited by ButterflyMelissa; 02-11-2012 at 02:32 PM.
 
  


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
root access to user account RudraB Linux - Newbie 16 06-30-2010 02:11 AM
Root Account Access Security iconicmoronic Linux - Security 2 04-14-2007 02:17 PM
How do I access root account in Mandrake 10? dbz Linux - Security 4 04-03-2004 11:00 AM
Can Access Sites with root but not user account Obelus Linux - Networking 4 12-21-2003 03:28 PM
FTP access using root account - restrictions alaerte Linux - Software 7 04-03-2003 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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