How can I tell if server is running OEL or Redhat?
779200Jun 14 2010 — edited Jun 19 2010Hi all,
Suppose I can connect to a server via ssh and I'd like to somehow find out if it's OEL or the original Redhat. It's supposed to be OEL, but I can't see anything pointing to this fact. All the outputs seem like coming from pure Redhat:
# uname -a
Linux <hostname> 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
# lsb_release -d
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
# dmesg | head -1
Linux version 2.6.9-42.ELsmp (bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Wed Jul 12 23:27:17 EDT 2006
# cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
So, none of this suggests anything about OEL to me, contrary to what sysadmin says... Is there any conclusive way to tell for sure if it's OEL or RH?
Thanks.