Date: Mon, 4 May 2009 10:18:00 +0100 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-questions@freebsd.org Subject: Re: clear old output in login screen? Message-ID: <200905041018.00717.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> References: <fa8771800905031146v51a8b752ra125f68a2520da4f@mail.gmail.com> <fa8771800905031429g10824451qc1f608b4189eff24@mail.gmail.com> <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905041018.00717.jmc-freebsd2>