Comment 2 for bug 782171

Revision history for this message
Roman Fiedler (roman-fiedler-deactivatedaccount) wrote :

This is getting really problematic: I also observed the issue on the base machine, not only within virtualbox guest. The effect there is in most cases that an open login session remains on tty1, that contains the passwords in plaintext in some .vim file. Cause:

During double command execution, quite some commands work even when executed twice, e.g. "ls". Since graphical desktop contains multiple xterms, but all commands on tty1 are executed in one shell, thus some combinations do not make sense any more (e.g. the GUI combination xterm1: "cd tmp"; xterm2: "su -s /bin/bash \n dhclient eth0\n cd \"; xterm1: "rm -rf -- *" might be the most lethal leading to complete data loss).

On my machine, quite some events ended with vim open on tty1 in some exotic mode. When I lock the graphical desktop and leave the machine, tty1 will be still open to anyone who knows about the problem and vim might contain username/password or sudo/ssh-keypassphrases in plaintext in vim edit mode.

Workaround (has worked so far):

Press [Ctrl]-C on xdm login screen, this restarts xdm. Afterwards tty1/tty7 are uncoupled.