I have Sandisk USB and I got an issue :-
I tried configuring /etc/security/pam_usb.conf block to following :-
<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.
I have Sandisk USB and I got an issue :- I tried configuring /etc/security/pam_usb.conf block to following :-
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 :-PLZ Help