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.

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar31.webp

4 Posts
Location -
Joined 2004-09-28
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...

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Sep 28
Created
Sep 29
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
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.

data/avatar/default/avatar31.webp

4 Posts
Location -
Joined 2004-09-28
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...