Compatible Support Forums: Can't Edit yum.conf on RH9

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't Edit yum.conf on RH9

#1 User is offline   downdogWoof 

  • stranger
  • Group: Members
  • Posts: 4
  • Joined: 28-September 04

Posted 28 September 2004 - 09:00 PM

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

#2 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 28 September 2004 - 11:19 PM

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

#3 User is offline   downdogWoof 

  • stranger
  • Group: Members
  • Posts: 4
  • Joined: 28-September 04

Posted 29 September 2004 - 05:51 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users