Deleting failure prompt in pamusb & pamusb_agent

hey chat,
recently I downloaded PAM_usb to authenticate logins & sudo using my USB pendrive but there’s a tiny inconvenience, whenever i use sudo without my pendrive it prompts an error message which is obvious like? i know i havent inserted my pendrive so is there any way to delete these prompts

and im also looking for a way to make ‘pamusb-agent’ work,

The configuration of pam_usb mentions an option called quiet which is described as Quiet Mode.

If I understood correctly, this option can be assigned per user in the configuration file (/etc/security/pam_usb.conf by default).

Maybe this is what you’re looking for.

Check here for some examples:

The Arch Wiki can also be helpful:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.