1751876 Members
5395 Online
108782 Solutions
New Discussion юеВ

Re: Sily Question

 
SOLVED
Go to solution
Amod
Occasional Advisor

Sily Question

I am connecting to a certain 'LINUX' server using 'ssh'. When I give 'uname -a' command it gives me following

Linux newftp 2.2.14-12smp #1 SMP Tue Apr 25 12:58:06 EDT 2000 i686 unknown

How can I know the OS distribution ? (Redhat/mandrek etc)
If you can't change it, enjoy it !!
5 REPLIES 5
Albert Keizer
Occasional Advisor
Solution

Re: Sily Question

Most linux distributions tell something about themselves in /etc/issue or /etc/motd (by default)

Regards,
Albert
Vitaly Karasik_1
Honored Contributor

Re: Sily Question

in RH this info into /etc/redhat-release
Vitaly Karasik_1
Honored Contributor

Re: Sily Question

and Mandrake has two files

/etc/redhat-release

&

/etc/mandrake-release
Andrew Cowan
Honored Contributor

Re: Sily Question

As a side issue.

SSH should be installed in such a way that it doesn't tell you much about the target system. This is for security reasons since the more an attacker knows about your system, the easier it is for them to attack you!
This is because they can go away and research say Redhat 6x with Apache 1x, and find a specific weakness, then attack directly, thus giving you less warning, and/or chance to defend yourself.

It is also prudent to remove files such as "/etc/issue" and replace them with legal warning messages.
descamps_1
Advisor

Re: Sily Question

Linux newftp 2.2.14
os |hostname|kernel version

-12smp #1 SMP Tue Apr 25 12:58:06 EDT 2000
? | date kernel compiled |
i686 unknown

didier