$ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">update
# /etc/sudoers.d/pwfeedback
Defaults pwfeedback
# /etc/sudoers.d/pwfeedback
Defaults pwfeedback
# /etc/sudoers.d/pwfeedback
Defaults pwfeedback
/etc/sudoers
-weight: 600;">sudo visudo
-weight: 600;">sudo visudo
-weight: 600;">sudo visudo
Defaults pwfeedback
Defaults pwfeedback
Defaults pwfeedback
# Reset your cached -weight: 600;">sudo credentials so you get prompted again
-weight: 600;">sudo -k # Now run any -weight: 600;">sudo command and you'll see asterisks
-weight: 600;">sudo whoami
# Reset your cached -weight: 600;">sudo credentials so you get prompted again
-weight: 600;">sudo -k # Now run any -weight: 600;">sudo command and you'll see asterisks
-weight: 600;">sudo whoami
# Reset your cached -weight: 600;">sudo credentials so you get prompted again
-weight: 600;">sudo -k # Now run any -weight: 600;">sudo command and you'll see asterisks
-weight: 600;">sudo whoami
# Create a separate config file in sudoers.d
echo 'Defaults pwfeedback' | -weight: 600;">sudo tee /etc/sudoers.d/pwfeedback # Set correct permissions — sudoers files MUST be 0440
-weight: 600;">sudo chmod 0440 /etc/sudoers.d/pwfeedback
# Create a separate config file in sudoers.d
echo 'Defaults pwfeedback' | -weight: 600;">sudo tee /etc/sudoers.d/pwfeedback # Set correct permissions — sudoers files MUST be 0440
-weight: 600;">sudo chmod 0440 /etc/sudoers.d/pwfeedback
# Create a separate config file in sudoers.d
echo 'Defaults pwfeedback' | -weight: 600;">sudo tee /etc/sudoers.d/pwfeedback # Set correct permissions — sudoers files MUST be 0440
-weight: 600;">sudo chmod 0440 /etc/sudoers.d/pwfeedback
/etc/sudoers.d/
# Option 1: Remove the drop-in file
-weight: 600;">sudo rm /etc/sudoers.d/pwfeedback # Option 2: Override it explicitly
echo 'Defaults !pwfeedback' | -weight: 600;">sudo tee /etc/sudoers.d/pwfeedback
-weight: 600;">sudo chmod 0440 /etc/sudoers.d/pwfeedback
# Option 1: Remove the drop-in file
-weight: 600;">sudo rm /etc/sudoers.d/pwfeedback # Option 2: Override it explicitly
echo 'Defaults !pwfeedback' | -weight: 600;">sudo tee /etc/sudoers.d/pwfeedback
-weight: 600;">sudo chmod 0440 /etc/sudoers.d/pwfeedback
# Option 1: Remove the drop-in file
-weight: 600;">sudo rm /etc/sudoers.d/pwfeedback # Option 2: Override it explicitly
echo 'Defaults !pwfeedback' | -weight: 600;">sudo tee /etc/sudoers.d/pwfeedback
-weight: 600;">sudo chmod 0440 /etc/sudoers.d/pwfeedback
-weight: 600;">sudo --version | head -1
# Should be 1.8.31 or later (ideally 1.9.x+)
-weight: 600;">sudo --version | head -1
# Should be 1.8.31 or later (ideally 1.9.x+)
-weight: 600;">sudo --version | head -1
# Should be 1.8.31 or later (ideally 1.9.x+)
systemd-boot
- name: Enable -weight: 600;">sudo password feedback copy: content: 'Defaults pwfeedback\n' dest: /etc/sudoers.d/pwfeedback mode: '0440' validate: 'visudo -cf %s' # validates syntax before writing
- name: Enable -weight: 600;">sudo password feedback copy: content: 'Defaults pwfeedback\n' dest: /etc/sudoers.d/pwfeedback mode: '0440' validate: 'visudo -cf %s' # validates syntax before writing
- name: Enable -weight: 600;">sudo password feedback copy: content: 'Defaults pwfeedback\n' dest: /etc/sudoers.d/pwfeedback mode: '0440' validate: 'visudo -cf %s' # validates syntax before writing
/etc/sudoers - Failed automation debugging. When a script prompts for -weight: 600;">sudo unexpectedly and you can't tell if it's waiting for input or just hanging, you waste time.
- Accessibility. Screen readers and assistive tools handle visible feedback differently than empty prompts. Any feedback is better than none.
- Onboarding friction. Every minute a new team member spends confused by the terminal is a minute they're not productive.