How to always show passwords typed into the terminal?

I use ubuntu to host my webserver, which I connect to through an SSH client (MobaXterm). Whenever I update it, I have to type in my password, usually multiple times. Ubuntu hides passwords that are being typed for security reasons. But I'm at home on my own computer, and no one is looking over my shoulder, so this feature is only a hindrance to me. Is there a way to turn it off so the password is always shown?

What I want is to just see the characters typed out like any other terminal command, rather than remaining invisible.

2

1 Answer

This can be done by editing a file sudo nano /etc/sudoers.tmp

Scroll down to the line Defaults env_reset and add ,pwfeedback

Press Ctrl + o to save, Ctrl + x to exit.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like