pam_usb
pam_usb copied to clipboard
agent event not working in pamusb-conf
I have Sandisk USB and I got an issue :-
I tried configuring /etc/security/pam_usb.conf
<user id="balpreet">
<device>SANDISK</device>
<agent event="lock">
<cmd>cinnamon-screensaver-command -l</cmd>
</agent>
<!-- Resume operations when the usb device is plugged back and authenticated -->
<agent event="unlock">
<cmd>cinnamon-screensaver-command --deactivate</cmd>
</agent>
</user>
The authentication works perfect but when i plug out the usb, it doesnot locks it and neither unlocks when i plug in it
Second. When I execute pamusb-check balpreet I get this :-
* Authentication request for user "balpreet" (pamusb-check)
sh: 1: Syntax error: "(" unexpected
* Access denied.
PLZ Help
您好,您的邮件已经收到。我会尽快查收的~
Invalid, can be closed - this is for my fork and tracked in https://github.com/mcdope/pam_usb/issues/185.