Skip site navigation (1)Skip section navigation (2)
Date:      15 Sep 2003 09:35:31 -0500
From:      Ray Seals <rseals@vdsi.net>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Securing the FreeBSD Console by removing OS Version
Message-ID:  <1063636531.287.2.camel@rsealslaptop.magellanhealth.com>
In-Reply-To: <20030912223142.GC68304@happy-idiot-talk.infracaninophile.co.uk>
References:  <1063399454.293.5.camel@rsealslaptop.magellanhealth.com> <20030912223142.GC68304@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
It was the /etc/motd file.  I had already edited the file but failed to
take out the top line.  I was trying to make this harder than it really
was.

Thanks
Ray

On Fri, 2003-09-12 at 17:31, Matthew Seaman wrote:
> 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
> 
> 	Cheers,
> 
> 	Matthew
-- 
Ray Seals <rseals@vdsi.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1063636531.287.2.camel>