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

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



James Zuelow wrote:
> > 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
> 
> 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

Except that clears the screen on login, not logout.  It would have
effect on a hardware terminal since a logout there is usually followed
by the login prompt.  But it won't have effect for any network access.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: