RH question

pll at lanminds.com pll at lanminds.com
Thu Jun 12 16:38:31 EDT 2003


Hi,

I was just showing someone the use of xargs in conjunction with find.
I thought I'd show him how to find which files in the /etc tree 
contain the system's hostname.  So, I did:

	find /etc -type f | xargs grep qatest52

(qatest52 being the system's name).

I was pretty confident of the results, but was surprised by one 
additional line which I've never seen before:

    /etc/sysconfig/rhn/systemid:<value><string>qatest52</string></value>

This appears to be an XML formatted file.  It's on an RH9 system.
Of course, before I could go looking around the system more, the guy 
went back into the lab and rebooted the system which killed my ssh 
session.  And my curiousity is killing me!

So, what's this file for, and what else does it contain?
What's the /etc/sysconfig/rhn subdir for, and what's in there (other 
than the systemid file :)

Thanks,
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the gnhlug-discuss mailing list