Hardware authentication for Linux using ordinary USB Flash Drives.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.9 KiB

  1. <?xml version="1.0" ?><!--
  2. pamusb.conf: Configuration file for pam_usb.
  3. See http://www.pamusb.org/doc/configuring
  4. --><configuration>
  5. <!-- Default options -->
  6. <defaults>
  7. <!-- Example:
  8. <option name="debug">true</option>
  9. -->
  10. </defaults>
  11. <!-- Device settings -->
  12. <devices>
  13. <!-- Example:
  14. Note: You should use pamusb-conf to add devices automatically.
  15. <device id="MyDevice">
  16. <vendor>SanDisk Corp.</vendor>
  17. <model>Cruzer Titanium</model>
  18. <serial>SNDKXXXXXXXXXXXXXXXX</serial>
  19. <volume_uuid>6F6B-42FC</volume_uuid>
  20. <option name="probe_timeout">10</option>
  21. </device>
  22. -->
  23. </devices>
  24. <!-- User settings -->
  25. <users>
  26. <!-- Note: Use pamusb-conf to add a user, then you can tweak
  27. manually the configuration here if needed.
  28. -->
  29. <!-- Example:
  30. Authenticate user scox using "MyDevice", and configure pamusb-agent
  31. to automatically start/stop gnome-screensaver on key insertion and
  32. removal:
  33. <user id="scox">
  34. <device>MyDevice</device>
  35. <option name="quiet">true</option>
  36. <agent event="lock">gnome-screensaver-command -\-lock</agent>
  37. <agent event="unlock">gnome-screensaver-command -\-deactivate</agent>
  38. </user>
  39. Configure user root to authenticate using MyDevice, but update one
  40. time pads at every login (default is 1 hour):
  41. <user id="root">
  42. <device>MyDevice</device>
  43. <option name="pad_expiration">0</option>
  44. </user>
  45. -->
  46. </users>
  47. <!-- Services settings (e.g. gdm, su, sudo...) -->
  48. <services>
  49. <!-- Example: Speed up hotplugging by disabling one time pads -->
  50. <!--
  51. <service id="pamusb-agent">
  52. <option name="one_time_pad">false</option>
  53. </service>
  54. -->
  55. <!-- Disable output for 'su' (needed for gksu) -->
  56. <!--
  57. <service id="su">
  58. <option name="quiet">true</option>
  59. </service>
  60. -->
  61. </services>
  62. </configuration>