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

Re: Things I Don't Understand About Debian



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.

Sven


Reply to: