Date: Thu, 9 Feb 2006 11:53:08 +0000 From: Marcin Jessa <lists@yazzy.org> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: theawel@gmail.com, freebsd-current@freebsd.org, frank.altpeter@gmail.com Subject: Re: FreeBSD showing version number upon login Message-ID: <20060209115308.559f50af.lists@yazzy.org> In-Reply-To: <4730.1139485457@critter.freebsd.dk> References: <e367ea100602090316s3352395ibc8801604b06ddda@mail.gmail.com> <4730.1139485457@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 09 Feb 2006 11:44:17 +0000 "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote: > In message <e367ea100602090316s3352395ibc8801604b06ddda@mail.gmail.com>, Frank > Altpeter writes: > >On 2/9/06, alex <theawel@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@ mailing list... Cheers, Marcin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209115308.559f50af.lists>