Skip to content

Bell not working with fingerprint #1180

@MrSom3body

Description

@MrSom3body

Describe the bug
I'm trying to use the bell flag to automatically play a sound when authentication is required. However, it doesn't work as expected with fingerprint authentication. The sound only plays after three failed fingerprint attempts, when the system falls back to asking for the password.

To Reproduce
Steps to reproduce the behavior:

  1. Run sudo -B echo hey
  2. Bug occurs

Expected behavior
It should play a bell if sudo asks for a fingerprint too.

Environment (please complete the following information):

  • Linux distribution: NixOS 25.11 (Xantusia)
  • sudo-rs commit hash: 17ead4e

Metadata

Metadata

Assignees

Labels

C-pamPAM libraryenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions