InformationSecure Keyboard Entry prevents other applications on the system and/or network from detecting and recording what is typed into Terminal.
Enabling Secure Keyboard Entry minimizes the risk of a key logger from detecting what is entered in Terminal.
SolutionPerform the following to enable secure keyboard entries in Terminal:
Select Secure Keyboard Entry
$ sudo -u <username> defaults write -app Terminal SecureKeyboardEntry -bool true
$ sudo -u firstuser defaults write -app Terminal SecureKeyboardEntry -bool true