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

RE: Screen clear on terminal logout (was Re: Orphaned User Accounts?)



----Original Message----
From: Morgan Gangwere [mailto:0.fractalus@gmail.com]
Sent: Wednesday, November 03, 2010 8:42 AM
To: debian-user@lists.debian.org
Subject: Screen clear on terminal logout (was Re: Orphaned User
Accounts?) 

> On 11/3/2010 9:30 AM, Carlos Mennens wrote:
>> I always wanted to tell them I hate the fact that when 'root' logs
>> out, the terminal / bash window doesn't clear like it does for normal
>> users. I think this should be a Debian default behavior. I can't see
>> a reason beyond over looking it as to why all my commands are still
>> visible as root after I log out.
> 
> Even normal users have their last login shown. its not root-specific,
> its a problem with the login getter.
> 
> 

Here's a workaround.  This will clear the screen for all users:

 mv /etc/issue /etc/issue.original
 clear > /etc/issue
 cat /etc/issue.original >> /etc/issue

James Z

Reply to: