FreeBSD showing version number upon login

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Feb 9 03:44:21 PST 2006


In message <e367ea100602090316s3352395ibc8801604b06ddda at mail.gmail.com>, Frank 
Altpeter writes:
>On 2/9/06, alex <theawel at gmail.com> wrote:
>> this had absolutely no effect, what i am trying to remove is the line
>> that has the FreeBSD info:
>>
>> [canceroftheweb:~] alex% ssh -l alex shake
>> Last login: Thu Feb  9 04:09:18 2006 from 192.168.0.100
>>
>> FreeBSD 6.0-RELEASE (GENERIC) #0: Thu Nov  3 09:36:13 UTC 2005
>>
>> Welcome to Master Shake!
>>
>> 4:14AM  up  3:06, 1 user, load averages: 0.00, 0.00, 0.00
>> [shake:~] alex%
>>
>>
>> There has got to be an easy way to delete that line!
>
>Uhm... "rm /etc/motd" ?

Uhm, "uname -a"  ?

Uhm "echo __FreeBSD_cc_version | cpp -E" ?

Uhm "strings /bin/cat | grep -i freebsd" ?

Thinking that you can hide from a user what operating system he
is running on, you are seriously deluded...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list