Can't Edit yum.conf on RH9
This is a discussion about Can't Edit yum.conf on RH9 in the Everything Linux category; Hi All, I'm logged in as root, but, when choosing properties, it says I'm not the owner. I also changed the file's permissions, to allow w for others, and then edited in gedit, but, when saving, it said it couldn't save the file.
Hi All,
I'm logged in as root, but, when choosing properties, it says I'm not the owner. I also changed the file's permissions, to allow w for others, and then edited in gedit, but, when saving, it said it couldn't save the file. What am I doing wrong..? Cheers.
P.S. I'm a newbie to Linux.
downdogWoof...
I'm logged in as root, but, when choosing properties, it says I'm not the owner. I also changed the file's permissions, to allow w for others, and then edited in gedit, but, when saving, it said it couldn't save the file. What am I doing wrong..? Cheers.
P.S. I'm a newbie to Linux.
downdogWoof...
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Sep 28
Sep 29
0
1 minute
Responses to this topic
Open a terminal and become root and go:
chmod 644 /etc/yum.conf [enter]
Then:
chown root /etc/yum.conf [enter]
Still as root, open it with gedit...
gedit /etc/yum.conf [enter]
Then edit the file and see if you can now save it.
chmod 644 /etc/yum.conf [enter]
Then:
chown root /etc/yum.conf [enter]
Still as root, open it with gedit...
gedit /etc/yum.conf [enter]
Then edit the file and see if you can now save it.
OP
Hi All,
wow, success, thanx. Would you mind explaining why I needed to do all that(or, why I couldn't edit it if I were already root)..? Cheers.
P.S. Also, when doing the last action, this appeared,
(gedit:2691): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
What is it..? Anything to worry about..? Cheers, again.
downdogWoof...
wow, success, thanx. Would you mind explaining why I needed to do all that(or, why I couldn't edit it if I were already root)..? Cheers.
P.S. Also, when doing the last action, this appeared,
(gedit:2691): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
What is it..? Anything to worry about..? Cheers, again.
downdogWoof...