« Return to Thread: Clearing the console each time a user logs out

Re: Clearing the console each time a user logs out

by Mark Zimmerman :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Clearing the console each time a user logs out