From owner-freebsd-questions@FreeBSD.ORG Wed Sep 26 14:13:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DC6A16A498 for ; Wed, 26 Sep 2007 14:13:03 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr5.networksolutionsemail.com (omr5.networksolutionsemail.com [205.178.146.55]) by mx1.freebsd.org (Postfix) with ESMTP id 7855C13C494 for ; Wed, 26 Sep 2007 14:13:03 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from mail.networksolutionsemail.com (ns-omr5.mgt.netsol.com [10.49.6.68]) by omr5.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id l8QED2Ti028799 for ; Wed, 26 Sep 2007 10:13:02 -0400 Received: (qmail 13880 invoked by uid 78); 26 Sep 2007 14:13:02 -0000 Received: from unknown (HELO makeworld.com) (63.85.253.50) by ns-omr5.lb.hosting.dc2.netsol.com with SMTP; 26 Sep 2007 14:13:02 -0000 Date: Wed, 26 Sep 2007 09:12:35 -0500 From: Chris To: Message-ID: <20070926091235.6399b660@localhost.localdomain> In-Reply-To: References: <20070925150058.J79029@dogmatix.home.rakhesh.com> <46F910EE.6070005@cyberleo.net> <20070926145429.B65660@dogmatix.home.rakhesh.com> Organization: Makeworld.com X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SSH login banner? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 14:13:03 -0000 On Wed, 26 Sep 2007 09:15:38 -0400 wrote: > I need to apply an SSH user agreement policy so users agrees to the > AUP _before_ they login. Everything I read puts the police on the > screen after login. Any ideas? --Joe Have a look under /etc/sshd/ There is an sshd conf file. Open it, look for Banner. I created a /etc/welcome.msg and put that location within the conf file. Restart sshd and viola. Now, wasnt this easier then someone telling you to have a look at some man page?! -- Best regards, Chris Registerd Linux user number 448639