LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 12:55 PM   #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, 01:57 PM   #2
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,220
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
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, 02:02 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,956

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
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, 02: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, 02:50 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
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, 03: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 03:17 PM.
 
Old 02-11-2012, 03:06 PM   #7
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,220
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
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, 03:08 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

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

Kind regards

Last edited by repo; 02-11-2012 at 03:11 PM.
 
Old 02-11-2012, 03: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, 03: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, 03:18 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

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

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

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

Kind regards

Last edited by repo; 02-11-2012 at 03:29 PM.
 
Old 02-11-2012, 03: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, 03: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, 03:30 PM   #15
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,220
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
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 Thor_2.0; 02-11-2012 at 03:32 PM.
 
  


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


All times are GMT -5. The time now is 11:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration