Feature changed by: Jan Engelhardt (jengelh) Feature #309094, revision 6 Title: Clear console on exit for security reasons Hackweek V: Unconfirmed Priority Requester: Important openSUSE-11.3: Unconfirmed Priority Requester: Desirable openSUSE-11.4: Unconfirmed Priority Requester: Mandatory Requested by: Fco. Javier Nacher (xiscoj) Description: hi, I've seen that ubuntu clears console screen when the user does a logout. If you use your linux as a sever or in text mode it is very interesting. At the moment when you do a logout all your last operations in console are visible, and I think it is a seucurity problem. I know that usually people use a GUI term, but it won't be a problem to add this feature I've done it myself, just added this to my . bash_logout. # when leaving the console clear the screen to increase privacy if [ "$SHLVL" = 1 ]; then [ -x /usr/bin/clear ] && /usr/bin/clear -q fi So addind this to the user creation skeleton files would do it and won't cost more than 2 minutes. Bye and thanks Discussion: #1: Fco. Javier Nacher (xiscoj) (2010-02-26 10:43:26) sorry I dind't put the new line character # when leaving the console clear the screen to increase privacy if [ "$SHLVL" = 1 ]; then [ -x /usr/bin/clear ] && /usr/bin/clear - q fi #2: Peter Tselios (tpe) (2010-08-16 11:42:57) How do you logout? logout and exit clear the screen for me... + #3: Jan Engelhardt (jengelh) (2010-08-19 20:16:41) + FALSE SECURITY. Even after run `clear` (what is the -q option for, + anyway?), you can use Shift-PgUp. If you want to do it right, cause the + kernel scrollback buffer to be emptied. -- openSUSE Feature: https://features.opensuse.org/309094