1. Edit the /etc/sudoers file (eg. sudo vim /etc/sudoers) 2. Add this line somewhere: Defaults env_reset,pwfeedback