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

Re: Things I Don't Understand About Debian



Normal users will clear screen on logout, root will not.

-Steve



On 23 February 2011 22:26, Sven Joachim <svenjoac@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.
>
> Sven
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/87lj16z8ty.fsf@turtle.gmx.de
>
>


Reply to: