From owner-freebsd-questions Sat Feb 16 13: 5:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from loki.giallarhorn.org (asgard.dslwan.toad.net [162.33.157.41]) by hub.freebsd.org (Postfix) with ESMTP id 47DE437B402 for ; Sat, 16 Feb 2002 13:05:50 -0800 (PST) Received: from MJOLNIR (mjolnir.giallarhorn.org [172.16.1.6]) by loki.giallarhorn.org (8.11.6/8.11.6) with ESMTP id g1GJZEB12712; Sat, 16 Feb 2002 14:35:14 -0500 (EST) (envelope-from technews@giallarhorn.org) Date: Sat, 16 Feb 2002 14:33:40 -0500 From: "Orville Pike (technews)" To: Steven Lake Subject: Re: Login message via SSH Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Message-Id: <20020216142411.2446.TECHNEWS@giallarhorn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.08 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 15 Feb 2002 20:35:45 -0600 (CST) Steven Lake wrote: > How do I remove this from the login screen when a user logs into > the server via SSH? > > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.4-20020115-STABLE (GENERIC) #0: Tue Jan 15 16:01:45 GMT 2002 > > All I want them to see is the warning message saying this is a > secure server that I have located in the MOTD file. Not the above. > Anyone got any ideas? Thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message do the following as root touch /etc/COPYRIGHT or remove the :copyright line from your login.conf file.(not tested). This takes effect immediately from what i can tell when a user logs in the contents of the file pointed to by ":copyright" is displayed. If the file is not there then the regular copyright info along with kernel name is displayed. the COPYRIGHT file seems like the perfect place to put the secured server message you would like to display and leave motd for more dynamic information To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message