|
@ -1,6 +1,5 @@ |
|
|
<!-- |
|
|
<!-- |
|
|
pusb.conf-dist: Default configuration file for pam_usb. |
|
|
|
|
|
Copy this file to /etc/pusb/pusb.conf if you don't already have one. |
|
|
|
|
|
|
|
|
pamusb.conf: Configuration file for pam_usb. |
|
|
|
|
|
|
|
|
See http://www.pamusb.org/doc/configuring |
|
|
See http://www.pamusb.org/doc/configuring |
|
|
--> |
|
|
--> |
|
@ -16,7 +15,7 @@ See http://www.pamusb.org/doc/configuring |
|
|
<!-- Device settings --> |
|
|
<!-- Device settings --> |
|
|
<devices> |
|
|
<devices> |
|
|
<!-- Example: |
|
|
<!-- Example: |
|
|
Note: You should use pusb_conf to add devices automatically. |
|
|
|
|
|
|
|
|
Note: You should use pamusb-conf to add devices automatically. |
|
|
<device id="MyDevice"> |
|
|
<device id="MyDevice"> |
|
|
<vendor>SanDisk Corp.</vendor> |
|
|
<vendor>SanDisk Corp.</vendor> |
|
|
<model>Cruzer Titanium</model> |
|
|
<model>Cruzer Titanium</model> |
|
@ -31,11 +30,11 @@ See http://www.pamusb.org/doc/configuring |
|
|
<!-- User settings --> |
|
|
<!-- User settings --> |
|
|
<users> |
|
|
<users> |
|
|
<!-- Example: |
|
|
<!-- Example: |
|
|
<user id="root"> |
|
|
|
|
|
|
|
|
<user id="scox"> |
|
|
<device>MyDevice</device> |
|
|
<device>MyDevice</device> |
|
|
<option name="quiet">true</option> |
|
|
<option name="quiet">true</option> |
|
|
<hotplug event="lock">gnome-screensaver-command -lock</hotplug> |
|
|
|
|
|
<hotplug event="unlock">gnome-screensaver-command -deactivate</hotplug> |
|
|
|
|
|
|
|
|
<agent event="lock">gnome-screensaver-command -lock</agent> |
|
|
|
|
|
<agent event="unlock">gnome-screensaver-command -deactivate</agent> |
|
|
</user> |
|
|
</user> |
|
|
--> |
|
|
--> |
|
|
</users> |
|
|
</users> |
|
|