Re: Logoff & clearscreen
> Ruud> I want to issue a "clearscreen" in or after a logout command so
> Ruud> that the next login is on a blank screen. How can I accomplish
> Ruud> this?
>
> # tput clear > /tmp/issue
> # cat /etc/issue >> /tmp/issue
> # mv /tmp/issue /etc/issue
>
> So now you don't have to chase down each and every user and
> put a clear in each and every shell rc file.
>
> Works like a charm.
although it hides the startup messages.. a small flaw, I have my
'trap clear EXIT'
in /etc/profile
Works like a charm :)
Michael Beattie (mickyb@es.co.nz)
PGP Key available, reply with "pgpkey" as subject.
-----------------------------------------------------------------------------
Cat Game #1: Hah - made you look!
-----------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
Reply to: