On Wed, 2011-03-02 at 19:33 +0000, Steven Ayre wrote: > Normal users will clear screen on logout, root will not. > That was the case in Etch, I'm not sure about Lenny, but both squeeze and testing/wheezy don't behave like that on my machine.
> > > On 23 February 2011 22:26, Sven Joachim <svenj...@gmx.de> wrote: > > On 2011-02-23 23:14 +0100, Ron Johnson wrote: > > > >> On 02/23/2011 03:11 PM, Carlos Mennens wrote: > >>> 1. Screen from console is not cleared as root or regular user once you > >>> log out. > >>> > >> > >> You're allowed to create /etc/bash.bash_logout which does: > >> if [ "$SHLVL" = 1 ]; then > >> [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q > >> fi > > > > I would like to add that this snippet has been in /etc/skel/.bash_logout > > for almost five years, so any user account created on Debian 4.0 or > > newer should have this already in his home directory. I'm running testing, that snippet does exist in /etc/skel but like I said above, I'm not seeing the console being cleared. Kind regards, Steven
signature.asc
Description: This is a digitally signed message part