LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-10-2004, 10:16 AM   #1
samills70
Member
 
Registered: May 2004
Posts: 32

Rep: Reputation: 15
Question problem browsing web when logged in as root


Hi everyone,

I have just installed red hat 9 with the new kernal on my machine today, and when I was going through the setup options I chose server installation. I have installed rh9 before choosing custom packages and the installation worked just fine. I however now find that when I log onto the machine as root I can't browse the internet. For instance I get the following message when I try go to google.com:
"The connection was refused when attempting to contact google.com" (I didn't type in the full www address in the message because that's not allowed on this post)
When I log on as a user I have created however, I can browse the internet quite freely. It's obviously something to do with account permissions but where do I change this. All I can find pertaining to users using gnome is the "users and groups" option where it doesn't look like any particular permissions can be set (yes, I'm a newbie and a bit lost).

Any pointers in the right direction would be great!!

Me
 
Old 05-10-2004, 10:50 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
here's a good advice: forget it

simply, it's a HUGE security risk if you browse web as root. if you do it as a normal user and somebody or something cracks in, you may be safe from the very worst, but if you do it as root and somebody gets in, you're in a deep s**t. literally speaking, of course. anyway, it's a common suggestion that no-one should do nothing as root unless it's truly needed - normal users are for that, whatever it is. specially if it concerns using a network such as internet...even tough you'd be a home user with no important things on your machine, it's unwise to browse web as root. therefore, I'd say it's good you can't do it

sorry for saying you must not do it, but it just is so. why would you want to do it, anyway?
 
Old 05-10-2004, 11:52 AM   #3
samills70
Member
 
Registered: May 2004
Posts: 32

Original Poster
Rep: Reputation: 15
thanks but...

thanks, but this is a test machine, with no other links to any other network of importance. Within less than a month I will probably be scrapping this OS and redoing the whole thing. The reason I want to be able to browse the net with root is so that while I am testing my web publishing with red hat I need to be able to check on little things that might need to be done so I don't want to keep logging out every time and su'ing still doesn't allow it. And in any case, where can I set permissions for even common users?
 
Old 05-10-2004, 01:32 PM   #4
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
well...shell/terminal is a good tool for root-stuff..anyway. I think in RedHat at least different "can" and "cannot" -things are set by groups, mainly...so that adding the user to a group enables him to do stuff. you may want to find somewhere (google?) the group information of RH's different tasks, altough I've seen it in some manual I think, I'm not sure where..

if you have a graphical tool for setting users and groups, I guess that'll provide you with the info. you may experience with different groups, if you wish..

and I still don't know for sure if the net-thing is because of groups, but that's for start..it might also solve some other things. to make this sure, you can compare a user that can access net to root user, and see their groups..

I have never seen this kind of problem myself, not even in RH..
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora web browsing problem zergutzu Linux - Networking 1 09-07-2004 12:55 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
Slow web browsing problem Corallis Linux - Newbie 8 04-03-2004 12:01 PM
firebird flash problem when logged in as user (but not as root) thegreatgatsby Linux - Software 3 11-20-2003 08:30 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM


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