clear old output in login screen?
Mike Clarke
jmc-freebsd2 at milibyte.co.uk
Mon May 4 09:47:04 UTC 2009
On Monday 04 May 2009, perryh at 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:
>
> #!/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.
--
Mike Clarke
More information about the freebsd-questions
mailing list