Re: FreeBSD showing version number upon login

From: alex <theawel_at_gmail.com>
Date: Thu, 9 Feb 2006 04:16:56 -0500
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 <theawel_at_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
Received on Thu Feb 09 2006 - 08:17:05 UTC

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