root account can access the internet, the other account can only access google
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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?
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 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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.