During the execution of a PAM Transparent Login script including <MouseClick> statements, it may occur that the voluntary or involuntary user interaction with the mouse and/or keyboard causes the input focus to be moved out of the proper entry field making the credential injection unsuccessful. It may even occur that the password can be viewed if the focus is placed on a visible entry field causing a security breach.
Is there any way to avoid this situation? Can user mouse and keyboard interaction be blocked during the credentials injection in a PAM Transparent Login operation?