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.

72 lines
1.8 KiB

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