Scenario (Ubuntu 14.04.2) :
I wake Ubuntu from suspend.
I know (from past experience) that it only takes 2 or 3 seconds for the lock screen to become available.
My monitor, however, takes longer - maybe 3 - 5 seconds.
So usually I will start typing my password at the lock screen before my monitor's ready. (I hold off pressing "Enter" until I can see the lock screen though, just in case).
90% of the time, this works fine.
However ... on rare occasions, when my monitor comes on, I see an error message at the command line. Something like "... kernel: [68165.146584] ata5: COMRESET failed (errno=-16)" for example.
Then in another second or two when the lock screen appears, the password field is empty.
My question is :
Where does my partially-typed password go, when I unknowingly type it at an error message on the command line ?
... Would someone with physical access to my computer be able to switch to a particular VTY/TTY and see my partial password ?
Or, say, kill X and see it sitting - in plain text - at a shell prompt indefinitely somewhere ?