Jump to content
Compatible Support Forums
Sign in to follow this  
downdogWoof

Can't Edit yum.conf on RH9

Recommended Posts

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...

Share this post


Link to post

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.

Share this post


Link to post

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...

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×