Saturday, October 07, 2006

7.3 - Clearing the console each time a user logs out.

To do this you must add a line in /etc/gettytab(5). Change the current section:
P|Pc|Pc console: :np:sp#9600:

adding the line ":cl=\E[H\E[2J:" at the end, so that it ends up looking like this:
P|Pc|Pc console: :np:sp#9600: :cl=\E[H\E[2J:

Click here to join IndoWLI
Click to join IndoWLI