Hi When using console 2 to 6, the screen clears when I log out and the login prompt appears at the top. On console 1, however, the screen contents from the session remains (surely this could be a security issue?) So, what setting / config file do I need to attack to get the clear-screan function on console 1? Also, what command would clear the screen from the command line during a session? Cheers Dylan
On Wed, 11 Sep 2002 19:25:50 +0100
Dylan
When using console 2 to 6, the screen clears when I log out and the login prompt appears at the top. On console 1, however, the screen contents from the session remains (surely this could be a security issue?)
So, what setting / config file do I need to attack to get the clear-screan function on console 1?
I havn't seen that problem, except for the boot messages.
Also, what command would clear the screen from the command line during a session?
try 1 of these: clear reset print "\033[2J"; tput sgr0 P.S. If you want to log out of all your logons quickly, try: kill -1 -1 -- use Perl; #powerful programmable prestidigitation
On Wednesday 11 September 2002 20.25, Dylan wrote:
Hi
When using console 2 to 6, the screen clears when I log out and the login prompt appears at the top. On console 1, however, the screen contents from the session remains (surely this could be a security issue?)
So, what setting / config file do I need to attack to get the clear-screan function on console 1?
edit /etc/inittab. Look for the line 1:2345:respawn:/sbin/mingetty --noclear tty1 Remove the --noclear, save and do "kill -HUP 1" The next time you log out of your console 1 session, the screen will be cleared. regards Anders
participants (3)
-
Anders Johansson
-
Dylan
-
zentara