From owner-freebsd-questions@FreeBSD.ORG Mon May 4 09:47:04 2009 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 19E4E1065670 for ; Mon, 4 May 2009 09:47:04 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id A6A628FC1E for ; Mon, 4 May 2009 09:47:03 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAC9P/knUnw6S/2dsb2JhbAC+RgGNcIJMAYEwBQ Received: from ptb-relay02.plus.net ([212.159.14.146]) by relay.ptn-ipout01.plus.net with ESMTP; 04 May 2009 10:18:01 +0100 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by ptb-relay02.plus.net with esmtp (Exim) id 1M0uJF-0000e8-BT for freebsd-questions@freebsd.org; Mon, 04 May 2009 10:18:01 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1M0uJE-0000u8-PF for freebsd-questions@freebsd.org; Mon, 04 May 2009 10:18:01 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 4 May 2009 10:18:00 +0100 User-Agent: KMail/1.9.10 References: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> In-Reply-To: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905041018.00717.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: bd9efda29ab2a6e5050fc77f92d479ae Subject: Re: clear old output in login screen? 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: Mon, 04 May 2009 09:47:04 -0000 On Monday 04 May 2009, perryh@pluto.rain.com wrote: > If I needed to do this, could not find a way to do it via > configuration settings, and didn't want to hack the login > source code, I would try renaming the login binary to > something like login.real, and replacing it with an > executable script containing something like: > > =A0 #!/bin/csh > =A0 clear > =A0 vidcontrol -C > =A0 exec /usr/bin/login.real "$@" But this wouldn't prevent someone scrolling back with the scroll lock=20 key before logging in. I assume the OP's requirement is to stop people=20 from seeing previous users console activity. =2D-=20 Mike Clarke