« Security/PamUsb/Install » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « = Install = pam_usb is included in most Linux distributions out there. If you happen to run Ubuntu or Debian, run: # apt-get install libpam-usb pamusb-tools Gentoo (You ... ») |
Aucun résumé des modifications |
||
| (2 versions intermédiaires par le même utilisateur non affichées) | |||
| 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 | ||
| Ligne 17 : | Ligne 23 : | ||
$ make | $ make | ||
# make install | # make install | ||
{{Admon/important|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 )}} | |||
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