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.

46 lines
1.1 KiB

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