Securing the FreeBSD Console by removing OS Version

Matthew Seaman m.seaman at
Fri Sep 12 15:32:07 PDT 2003

On Fri, Sep 12, 2003 at 03:44:14PM -0500, Ray Seals wrote:
> I don't want the console to display the OS version number.  I have
> removed the %h variable from gettytab for my remote login users.  Where
> can I remove this info from the Console screen?

Edit /etc/motd ?

If you've got an /etc/issue file (or whatever the if property in
gettytab(5) is set to), that will be displayed before the login
prompt, and it gets the same sort of % expansion as done for the im
(initial banner message) or lm (login prompt) properties.  See also
/etc/login.conf where the 'welcome' property can be changes to point
to a different file than /etc/motd



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list