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.

57 lines
1.5 KiB

17 years ago
17 years ago
17 years ago
17 years ago
17 years ago
17 years ago
  1. ====== Upgrading ======
  2. If you're already using a pam_usb version prior to 0.4.0, you will have to
  3. remove the older version before installing.
  4. You do not have to do this if you're already using >=0.4.0 or Subversion.
  5. ===== Remove pam_usb.so from pam.d =====
  6. $ grep -r pam_usb.so /etc/pam.d
  7. /etc/pam.d/su:auth sufficient pam_usb.so
  8. /etc/pam.d/gdm:auth sufficient pam_usb.so
  9. [...]
  10. Edit every matching file and remove the pam_usb.so lines.
  11. At the end of the operation, there shouldn't be any file contanining a reference
  12. to pam_usb.so:
  13. $ grep -r pam_usb /etc/pam.d
  14. $
  15. ===== Remove .auth directories =====
  16. Older versions of pam_usb used to create .auth directories in both the device
  17. and the user's home directory. Those directories aren't used anymore, so feel
  18. free to remove them:
  19. # rm -rf /root/.auth
  20. # rm -rf /home/scox/.auth
  21. # rm -rf /media/usbdisk/.auth
  22. ===== Remove configuration files =====
  23. As configuration files of pam_usb 0.4.0 aren't backward compatible and are
  24. located under /etc/pusb, the old /etc/pam_usb is no more needed.
  25. # rm -rf /etc/pam_usb
  26. ===== Deinstall pam_usb =====
  27. If you installed the old pam_usb version using your operating system's package
  28. manager, then remove it by the same mean.
  29. Otherwise, you can remove it by hand by performing the following instructions:
  30. # rm -f /usr/bin/usbadm /usr/share/man/usbadm.1.gz
  31. # rm -f /usr/bin/usbhotplug /etc/hotplug.d/default/pamusb.hotplug
  32. /etc/pam.d/usbhotplug
  33. # rm -f /lib/security/pam_usb.so
  34. ===== Next =====
  35. Go aheand and install the new version.