Locking the console
This may be a bit off topic, as it's more of a general thing, but i'm accustomed to posting in slackware (mods please move if you oppose).
I've been pondering ways to increade security on my box, i regualrly lock the screen when i walk away etc.
i was wondering what people think of this idea
use either xscreensaver (or, as i don't like it, xlock, and xautolock (not in slack by default) to lock the screen after say, 5 or 10 mins.
Also, alias startx to "startx &; vlock" to lock the vitual console(s)
However, i'd like to set it so that any su session in xterms expire after about 5 mins of inactivity and exit. However i can't think of a good way to do this, either using normal options, of from a simple script. Does anyone have any ideas how to solve this (i use zsh if it helps)