Results 1 to 8 of 8
Hi everyone; just loaded 1st install of R.Hat. I'm the root user and for some reason I'm unable to get into the /etc/grub.conf file. It says: Permission Denied.
I was ...
- 02-22-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 18
Root Account
Hi everyone; just loaded 1st install of R.Hat. I'm the root user and for some reason I'm unable to get into the /etc/grub.conf file. It says: Permission Denied.
I was under the impression that root usr had 100% access into all config files.
Any suggestions on how to allow access would be great.
Thanks,
C .R.
- 02-22-2005 #2Linux Newbie
- Join Date
- Oct 2004
- Location
- Arizona, USA
- Posts
- 217
i dont think you have access ot certain things even with root access, such as the man pages and /etc/ i have tried and gotten permission denied. Ive always wondered whether it would be possible but i dont think it is. I may be wrong though. hope this helps
Linux is for those who want to know why their computer works.
Registered Linux Machine #293111
Registered Linux User #371115
- 02-22-2005 #3Just Joined!
- Join Date
- Feb 2005
- Posts
- 18
Thanx for the info.
Anyone else can suggest a fix for this would be great.
Running RH 9.0.
Thanks,
C.R.
- 02-22-2005 #4Linux Enthusiast
- Join Date
- Dec 2004
- Location
- Rockin' in the USA!!!
- Posts
- 603
As root, you have acess to _everything_. The most probable reason for this particular problem is that you don't have the correcto permissions set for anyone to read it. To change this, from the shell, type:
this will change the permissions such that you can read and write to the grub.conf file, /etc/grub.conf is just a symlink to the real thing, and if reading from it gives you any trouble, you can execute this command on it, or you can just edit '/boot/grub/grub.conf'Code:chmod +rw /boot/grub/grub.conf
- 02-22-2005 #5Linux User
- Join Date
- Feb 2005
- Posts
- 290
not quite true if you're running FC3 or distro installed with SELinux where you need to disable the protection in order to modify system files. This serves as a last defence against those who "accidentally" broke into your system and gain "root" access ...."As root, you have acess to _everything_."
- 02-22-2005 #6Linux Enthusiast
- Join Date
- Dec 2004
- Location
- Rockin' in the USA!!!
- Posts
- 603
^^^Looks like somebody's trying to increase their post count...
True, but I though he was running redhat, not fedora.
- 02-22-2005 #7Linux User
- Join Date
- Feb 2005
- Posts
- 290
lol, whatever.
Originally Posted by smindinvern
- 02-23-2005 #8Just Joined!
- Join Date
- Feb 2005
- Posts
- 18
Thanks for the suggestions. I'm using RedHat 9.0.
Thanks.
C.R.



