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.

44 lines
1.0 KiB

  1. <configuration>
  2. <defaults>
  3. <option name="one_time_pad">true</option>
  4. <option name="probe_timeout">10</option>
  5. <option name="system_pad_directory">/usr/share/pam_usb/pads</option>
  6. <option name="device_pad_directory">.auth</option>
  7. </defaults>
  8. <devices>
  9. <device id="foobar">
  10. <vendor>SanDisk Corp.</vendor>
  11. <model>Cruzer Titanium</model>
  12. <serial>SNDKB882652FC4A03701</serial>
  13. <volume_uuid>3B69-1AFD</volume_uuid>
  14. </device>
  15. </devices>
  16. <users>
  17. <user id="scox">
  18. <device>foobar</device>
  19. <!--<option name="one_time_pad">false</option> -->
  20. </user>
  21. <user id="root">
  22. <device>foobar</device>
  23. </user>
  24. </users>
  25. <services>
  26. <!-- Disable pam_usb for sshd (nonsense) -->
  27. <service id="ssh">
  28. <option name="enable">false</option>
  29. </service>
  30. <!-- Speed up 'login' authentication by disabling one time pads.
  31. This setting will not affect user 'root' as he/she is
  32. enforcing one time pads (enforce_otp).
  33. -->
  34. <service id="login">
  35. <option name="one_time_pad">false</option>
  36. </service>
  37. </services>
  38. </configuration>