Re: FreeBSD showing version number upon login

From: Marcin Jessa <lists_at_yazzy.org>
Date: Thu, 9 Feb 2006 11:53:08 +0000
On Thu, 09 Feb 2006 11:44:17 +0000
"Poul-Henning Kamp" <phk_at_phk.freebsd.dk> wrote:

> 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...

This can be useful in case you give users a custom, resticted shell, something like
vtysh of quagga.
Otherwise you're right, I don't see any point in hiding this from users.
Besides this thread is not really appropriate for the freebsd-current_at_ mailing list... 

Cheers,
Marcin
Received on Thu Feb 09 2006 - 10:54:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC