« Security/PamUsb/Install » : différence entre les versions

De TartareFR
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
= Install =
= Install =
== From distribution package ==


pam_usb is included in most Linux distributions out there.
pam_usb is included in most Linux distributions out there.


If you happen to run Ubuntu or Debian, run:
Fedora or CentOS
 
# yum install pam_usb
 
If you happen to run '''Ubuntu''' or '''Debian''', run:


  # apt-get install libpam-usb pamusb-tools
  # apt-get install libpam-usb pamusb-tools


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


  # emerge pam_usb
  # emerge pam_usb


= Compiling from source =
== Compiling from source ==


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

Dernière version du 2 janvier 2013 à 11:05

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 )