[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Logoff & clearscreen



Hi,
>>"Ruud" == Ruud de Bruin <rdebruin@cistron.nl> writes:

 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.

	manoj
-- 
 micro: Thinker toys.
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


Reply to: