Date: Thu, 9 Feb 2006 09:46:34 +0000 From: Marcin Jessa <lists@yazzy.org> To: alex <theawel@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD showing version number upon login Message-ID: <20060209094634.70b2a342.lists@yazzy.org> In-Reply-To: <68021BB2-7A6D-4D90-99AA-8982AC74E992@gmail.com> References: <aa8567bf0602082329u766e860dy8b7c64c04cbccb25@mail.gmail.com> <20060209085931.47d3d334.lists@yazzy.org> <68021BB2-7A6D-4D90-99AA-8982AC74E992@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Feb 2006 04:16:56 -0500 alex <theawel@gmail.com> wrote: > 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! Put something like tput cl to your ~/.login What are you trying to accomplish? And please stop top posting. > On Feb 9, 2006, at 3:59 AM, Marcin Jessa wrote: > > > On Thu, 9 Feb 2006 02:29:25 -0500 > > Alex <theawel@gmail.com> 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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209094634.70b2a342.lists>