Re: Things I Don't Understand About Debian
Normal users will clear screen on logout, root will not.
On 23 February 2011 22:26, Sven Joachim <firstname.lastname@example.org> 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
> 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.
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
> Archive: http://firstname.lastname@example.org