From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 15:32:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 859AE16A4BF for ; Fri, 12 Sep 2003 15:32:07 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id F19DD43FD7 for ; Fri, 12 Sep 2003 15:32:05 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h8CMVgSk069019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Sep 2003 23:31:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h8CMVgo1069018; Fri, 12 Sep 2003 23:31:42 +0100 (BST) (envelope-from matthew) Date: Fri, 12 Sep 2003 23:31:42 +0100 From: Matthew Seaman To: Ray Seals Message-ID: <20030912223142.GC68304@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Ray Seals , FreeBSD Questions References: <1063399454.293.5.camel@rsealslaptop.magellanhealth.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="adJ1OR3c6QgCpb/j" Content-Disposition: inline In-Reply-To: <1063399454.293.5.camel@rsealslaptop.magellanhealth.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.4 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD Questions Subject: Re: Securing the FreeBSD Console by removing OS Version X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 22:32:07 -0000 --adJ1OR3c6QgCpb/j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --adJ1OR3c6QgCpb/j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/YklOdtESqEQa7a0RAo62AJ9g8GIFuCpUJVHAoXPNatylr922QACeJA0Q w8LNaY//k9Zz7/i6w3wckCw= =IV6P -----END PGP SIGNATURE----- --adJ1OR3c6QgCpb/j--