[Bug 2125507] [NEW] sudo --non-interactive is interactive

Julian Andres Klode 2125507 at bugs.launchpad.net
Tue Sep 23 15:43:54 UTC 2025


Public bug reported:

The --non-interactive flag does not work, it will try to do PAM auth,
which then blocks because my PAM is configured to do FIDO2:

jak at jak-t14-g3 ~/P/U/rust-coreutils-0.2.2 (ubuntu/devel)> sudo --non-interactive echo x
[sudo] Please touch the FIDO authenticator.
x
jak at jak-t14-g3 ~/P/U/rust-coreutils-0.2.2 (ubuntu/devel)> sudo.ws --non-interactive echo x
sudo: a password is required

** Affects: rust-sudo-rs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-sudo-rs in Ubuntu.
https://bugs.launchpad.net/bugs/2125507

Title:
  sudo --non-interactive is interactive

Status in rust-sudo-rs package in Ubuntu:
  New

Bug description:
  The --non-interactive flag does not work, it will try to do PAM auth,
  which then blocks because my PAM is configured to do FIDO2:

  jak at jak-t14-g3 ~/P/U/rust-coreutils-0.2.2 (ubuntu/devel)> sudo --non-interactive echo x
  [sudo] Please touch the FIDO authenticator.
  x
  jak at jak-t14-g3 ~/P/U/rust-coreutils-0.2.2 (ubuntu/devel)> sudo.ws --non-interactive echo x
  sudo: a password is required

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2125507/+subscriptions




More information about the foundations-bugs mailing list