Failed to setup network access under RHEL 6.1 (VBox)
Hi
I hope someone can help me with this, please ! I have been trying and failing to setup up network access to the internet. After probing a few files as root user I am being denied access to /etc/resolv.conf with a message saying access denied when attempting a few other commands I also get no such file message. My understanding is this file gets updated with accordance to network configuration settings. Why would root user be being denied access and why is it also showing as does not exist. I am running the server in CLI mode but have attempted setup command which took me to the GUI interface and settings seem right. Have I fudged something without realising ?? Many thanks for reading and hope whatever your working on goes well |
well as you say it says it doesn't exist too, I think it has to be worth pointing out that it's /etc/resolv.conf, not resolve.conf.
Generally you don't need to modify it directly, but you'd never be stopped form doing so as root, so I'd also wonder exactly how you're doing it. |
okay ?
Quote:
And I may be attempting to edit wrong I was using the vi to edit as I have edited files with this in the past and it used to work fine. I'm not sure if things in this distro version are diff because as you are aware more than likely this type of OS is particulary enhanced on security features. What do you think I may be doing wrong? I should add I'm doing this in a Vbox setup Thank you |
/etx/resolve.conf ???
SELinux won't stop root editing that file. I don't know what you're doing wrong, as you've not told us *exactly* what you are doing. can you prove you ARE root when you do this? |
Since you seem to have some trouble with typing accurately, may I suggest taking advantage of the "tab autocomplete" feature? If you start typing a few letters, for example:
Code:
vi /et Code:
vi /etc/ Code:
vi /etc/res etc. |
Quote:
* Note I changed the title of your thread to reflect it's not a security problem and I've moved it to the Linux Newbie forum to help your thread/question get the exposure it deserves. |
yep deffinate root login
Quote:
At login I enter root as login and my password I'll put the screen dumps up in the morning for you. Then the last login is displayed with the software version details. I've also tried viewing the file with SU at the start of the command line code. |
VBox DHCP seems cool
Quote:
I have made a post on this network issue as internet access is required to access repositories. Thanks ---------------- Asim ________________ |
editing prob
Quote:
RH said the same thing there are however bugs in certain distros which ineffect have prevented root from accessing specific files including the aforementioned however no solutions are documented anywhere in respect to this. That is also the reason I put it in the security section rather than the networking one |
"TAB Autocomplete"
Quote:
|
I should mention
Quote:
After a bit of research on it I thought a possible install of somthing might solve the unrecognized commands issue. Please excuse if these seem like stupid questions I'm trying to familirize myself with the RedHat install and config procedures. Many Thanks |
Quote:
Quote:
|
I'm not talking about problems
Quote:
I didn't update the post, was going to do it in the morning but I've done a fresh install on VBox (desktop version) after runing NetManager internet is runing fine, still getting a problem at bas or X11 should I say with the permission thing even though I'm logged in as root user so priveliges should be enabled (?). I don't know what I'm doing wrong in the CLI on my other install as NetManager comes up with command error and so does Sys-Network-config. Thanks for the help, also bit confused at your tangible remark lol Please explain Thanks again |
What I am saying ?
Quote:
What I was actually trying to say was that I had made the post in network related topis already the reason I said that is because a moderator I'm not sure if it was yourself or another one sent me a message saying they changed the name of the post from Security issue (as I can't gain access to /etc/resolv.conf) to network related. I was explaining that I'd done that already but thought to myself that I'd learn more from both?? I have had feedback from a few other forum/ blog sites and it seems that its a bit weird. I must be doing something wrong but like I said its runing in desktop environment just not in CLI!! Also repositories won't work for I'd like it to but I'm messing up the reg it fails to connect. Thanks ------------------ Asim __________________ |
Right so we've merged a thread here? Confused a bit...
So again I see user error... "sys-config-network" be "system-config-network", I really get the impression you're just not paying enough attention to detail. are we even officially clear about the name of the /etc/resolv.conf file?? The tab completion advice is VERY useful for both the resolv.conf file AND the system-config-network tool, you'd not be able to get either of these wrong if you used tab completion. |
All times are GMT -5. The time now is 11:39 PM. |