Security/PamUsb/Install

De TartareFR
Aller à la navigation Aller à la recherche

Install

From distribution package

pam_usb is included in most Linux distributions out there.

Fedora or CentOS

# yum install pam_usb

If you happen to run Ubuntu or Debian, run:

# apt-get install libpam-usb pamusb-tools

Gentoo (You may need to unmask `sys-auth/pam_usb` or use `--automask-write`):

# emerge pam_usb

Compiling from source

Before proceeding, make sure all dependencies are installed: libxml2, pam, udisks, pmount and dbus-devel are installed

$ make
# make install
Important.png
On Fedora
Library must be moved from <path>/lib/security</path> to <path>/usr/lib/security</path> ( i686 ) or <path>/usr/lib64/security</path> ( x86_64 )