From owner-freebsd-current@FreeBSD.ORG Thu Feb 9 11:54:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E8E916A422 for ; Thu, 9 Feb 2006 11:54:13 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.net (mail.yazzy.net [217.8.140.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id A62A243D4C for ; Thu, 9 Feb 2006 11:54:12 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (unknown [192.168.99.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.net (Postfix) with ESMTP id D7CC839832; Thu, 9 Feb 2006 12:55:10 +0100 (CET) Date: Thu, 9 Feb 2006 11:53:08 +0000 From: Marcin Jessa To: "Poul-Henning Kamp" Message-Id: <20060209115308.559f50af.lists@yazzy.org> In-Reply-To: <4730.1139485457@critter.freebsd.dk> References: <4730.1139485457@critter.freebsd.dk> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: theawel@gmail.com, freebsd-current@freebsd.org, frank.altpeter@gmail.com Subject: Re: FreeBSD showing version number upon login X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 11:54:13 -0000 On Thu, 09 Feb 2006 11:44:17 +0000 "Poul-Henning Kamp" wrote: > In message , Frank > Altpeter writes: > >On 2/9/06, alex 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