User Tools

Site Tools


ubuntu_26_notepad

Stupid sudo stuff

The Remote Fix: Standardize Sudoers

If forcing the flag doesn't work, you need to disable the “asterisk feedback” on the Ubuntu 26.04 system, as it can interfere with how Ansible pipes the password into the stream.

Run sudo visudo.
Look for a line that says Defaults env_reset or similar.
Check if pwfeedback is present. You want to ensure it is off. Add or modify the line to look like this:

Plaintext
Defaults !pwfeedback

Also, ensure the prompt isn't being globally overridden in /etc/sudoers.d/.

ubuntu_26_notepad.txt · Last modified: by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki