[CentOS] Faking RHEL with CentOS

Sorin at Gmail sorin.srbu at gmail.com
Thu Oct 2 06:29:03 UTC 2008


John wrote:
>> 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?
> 
> JohnStanley Writes:
> 
> Yes that will work. Replace the appropriate string. Also do cat
> /etc/issue. 
> One more and it is called programatically "rpm --whatprovides"

Nice! Thx, will investigate the suggested files and rpm stuff.
-------------- 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/20081002/a36dbf0b/smime.bin


More information about the CentOS mailing list