From owner-freebsd-current@FreeBSD.ORG Thu Feb 9 09:17:05 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 600AA16A427 for ; Thu, 9 Feb 2006 09:17:05 +0000 (GMT) (envelope-from theawel@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B9AC43D5D for ; Thu, 9 Feb 2006 09:17:03 +0000 (GMT) (envelope-from theawel@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so115701nzp for ; Thu, 09 Feb 2006 01:17:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:from:subject:date:to:x-mailer; b=tccbrr3mNRebmSm0A8NAuzCmj9rzbzXL1iQd9hGMLpLuVoMY/OQpLWAEJY2BJW8AX2I5sfXGy3USYXTcn0foKjSl3Pg30+GTdayUzbUFz64xnyOg3G0Po2J7W2KEGln+sOiFi8s5fXhOuu1LL4VPfa0Y6C3amj+d48Ybqv5h8a8= Received: by 10.36.148.2 with SMTP id v2mr1808657nzd; Thu, 09 Feb 2006 01:17:02 -0800 (PST) Received: from ?192.168.0.100? ( [69.141.26.39]) by mx.gmail.com with ESMTP id 36sm319292nzk.2006.02.09.01.17.01; Thu, 09 Feb 2006 01:17:02 -0800 (PST) In-Reply-To: <20060209085931.47d3d334.lists@yazzy.org> References: <20060209085931.47d3d334.lists@yazzy.org> Mime-Version: 1.0 (Apple Message framework v746.2) Message-Id: <68021BB2-7A6D-4D90-99AA-8982AC74E992@gmail.com> From: alex Date: Thu, 9 Feb 2006 04:16:56 -0500 To: Marcin Jessa X-Mailer: Apple Mail (2.746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org 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 09:17:05 -0000 While browsing the web trying to find out how to remove the version info I did come across editing the gettytab following the follow instructions ==========Begin========== think what you want is to change /etc/gettytab. MAKE A BACKUP BEFORE EDITING /etc/gettytab A borked gettyab can prevent you from logging in. Find the line in the default:\ section that starts with the following: :cb:ce:ck:lc Change the text between \r\n\ \r\n\r\nr\n: to whatever text you wish to appear. Double-check that you have the right amount of \rs and \ns and save your change. ======End======= 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! ----Alex On Feb 9, 2006, at 3:59 AM, Marcin Jessa wrote: > On Thu, 9 Feb 2006 02:29:25 -0500 > Alex wrote: > >> I just installed a fresh copy of freebsd 6.0. I went on to try to >> remove the >> version number that appears before your MOTD and I had no luck. I >> first >> tried making a COPYRIGHT file in /etc(with touch COPYRIGHT) and >> adding >> update_motd="NO" to rc.conf and rebooted and that did nothing, > > update_motd="NO" is to update the /var/run/dmesg.boot afair > >> it still >> showed up. I even went so far as to comment out the copyright >> statement in >> login.conf and rebuilt the DB but it still showed up. I also went to >> /etc/default/rc.conf and changed the default update_motd="YES" to >> no and >> rebooted and still it kept showing up. I am at wits end here..... >> anyone >> have any ideas? Am I missing something here? > > There are few ways to achieve this. > One is to compile your kernel not to show any booting messages with > black text and background. > The other is to include a login image which can be i.e black. This > way you could still see the boot msg > if you press ESC during boot. > You can also change your /etc/gettytab and put there something like > here: > http://www.yazzy.org/configs/freebsd/gettytab > You can tweak the gettytab entry to show custom text, automatically > login a user etc. > > Cheers > Marcin