[CentOS] Faking RHEL with CentOS

Sorin at Gmail sorin.srbu at gmail.com
Wed Oct 1 13:53:38 UTC 2008


Hi all,

I'm looking to test out a solution with CentOS instead of our venerable
RHEL3-servers. Some of the software we use and need, requires for it to run on
RHEL. Figuring that CentOS is binary compatible with RHEL this should work
anyway. I also found out using Google that many programs look in
/etc/redhat-release file to check that the right OS is there.

After checking the contents on a CentOS machine I have available, as well as
one running RHEL3 and 4, my guess would be that adding the "correct" text in
the redhat-release file on CentOS would enable picky software requiring RHEL
to run in CentOS instead.

>From CentOS /etc/redhat-release:
CentOS release 5.2 (Final)

>From RHEL3 /etc/redhat-release:
Red Hat Enterprise Linux WS release 3 (Taroon Update 9)

>From RHEL4 /etc/redhat-release:
Red Hat Enterprise Linux WS release 4 (Nahant Update 7)

Has anybody maybe actually done this already and can tell if it'd work?

What other places may a software look into to check the computer runs the
correct OS?

Ideas and comments are welcome! TIA.
-- 
Best Wishes
                  Sorin
---------------------------------------------
http://home-skynet.servehttp.com/
Proud member of TEAM OS/2.
Mountainbiker [Kona Kilauea - Member of Equipe Les Cafards VTT]
Motorcyclist [Honda VFR750F-'97]
MCSE, MCP+I, MCP, A+ [Knowledge is power!]
---------------------------------------------
()  ascii ribbon campaign - against html e-mail 
/\

MotD:
This is an adware tagline. Please visit our sponsors to continue helping the
development of this tagline.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5118 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20081001/36df6e0c/smime.bin


More information about the CentOS mailing list