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