Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2009 01:20:53 -0700
From:      perryh@pluto.rain.com
To:        jmc-freebsd2@milibyte.co.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: clear old output in login screen?
Message-ID:  <49fff6e5.JdJRbLiNeEolnKU2%perryh@pluto.rain.com>
In-Reply-To: <200905041018.00717.jmc-freebsd2@milibyte.co.uk>
References:  <fa8771800905031146v51a8b752ra125f68a2520da4f@mail.gmail.com> <fa8771800905031429g10824451qc1f608b4189eff24@mail.gmail.com> <49fe3674.T7f7dmOgxNx5YnmK%perryh@pluto.rain.com> <200905041018.00717.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Clarke <jmc-freebsd2@milibyte.co.uk> wrote:
> On Monday 04 May 2009, perryh@pluto.rain.com wrote:
...
> > ? #!/bin/csh
> > ? clear
> > ? vidcontrol -C
> > ? exec /usr/bin/login.real "$@"
>
> But this wouldn't prevent someone scrolling back with the scroll
> lock key before logging in. I assume the OP's requirement is to
> stop people from seeing previous users console activity.

That's what the "vidcontrol -C" line is supposed to accomplish,
based on my reading of vidcontrol(1) and earlier messages in the
thread.  Granted I have not actually tried it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49fff6e5.JdJRbLiNeEolnKU2%perryh>