Re: Clearing the console each time a user logs out
On Fri, Jul 10, 2009 at 08:48:12PM +0200, Olivier Regnier wrote:
> I have already modified the file "gettytab" with these lines:
>
> P:Pc:Pc console:\
> :np:sp#9600:\
> :cl=\E[H\E[2J:
>
> This does not work ? An idea ?
>
The FAQ entry for this has been wrong for a few releases now. Try
this:
2|std.9600|9600-baud:\
:sp#9600:\
:cl=\E[H\E[2J:
Assuming /etc/ttys has this for the console:
console "/usr/libexec/getty std.9600" vt220 off secure