|
@ -1,23 +1,17 @@ |
|
|
====== Quickstart ====== |
|
|
====== Quickstart ====== |
|
|
|
|
|
|
|
|
Before going ahead, make sure to follow the upgrading instructions if you're |
|
|
Before going ahead, make sure to follow the upgrading instructions if you're |
|
|
using an older version of pam_usb. |
|
|
|
|
|
|
|
|
using a version of pam_usb prior to 0.4.0. |
|
|
|
|
|
|
|
|
===== Installing ==== |
|
|
===== Installing ==== |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==== Gentoo Linux ==== |
|
|
==== Gentoo Linux ==== |
|
|
|
|
|
|
|
|
pam_usb 0.4.1 is currently keyword masked (~arch) on Gentoo, so you'll have to |
|
|
|
|
|
unmask it before installing: |
|
|
|
|
|
|
|
|
# emerge -av pam_usb |
|
|
|
|
|
|
|
|
# echo "sys-auth/pam_usb" >> /etc/portage/package.keywords |
|
|
|
|
|
# emerge -av ">=sys-auth/pam_usb-0.4.1" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
==== Debian GNU/Linux ==== |
|
|
|
|
|
|
|
|
|
|
|
pam_usb is available on Debian testing (lenny) and unstable (sid). |
|
|
|
|
|
|
|
|
==== Ubuntu and Debian ==== |
|
|
|
|
|
|
|
|
# apt-get install libpam-usb pamusb-tools |
|
|
# apt-get install libpam-usb pamusb-tools |
|
|
|
|
|
|
|
@ -31,19 +25,20 @@ $ cd pam_usb-<version> |
|
|
|
|
|
|
|
|
* Step 3: Make sure that you have installed the required dependencies |
|
|
* Step 3: Make sure that you have installed the required dependencies |
|
|
|
|
|
|
|
|
pam_usb depends on libxml2, PAM, HAL and pmount. pam_usb's tools (pamusb-agent, |
|
|
|
|
|
pamusb-conf) depends on python, python-celementtree and python-gobject. |
|
|
|
|
|
|
|
|
pam_usb depends on libxml2, PAM, udisks and pmount. pam_usb's tools |
|
|
|
|
|
(pamusb-agent, pamusb-conf) depends on python, python-celementtree and |
|
|
|
|
|
python-gobject. |
|
|
|
|
|
|
|
|
* Step 3: Compile and install |
|
|
* Step 3: Compile and install |
|
|
|
|
|
|
|
|
$ make |
|
|
$ make |
|
|
# make install |
|
|
# make install |
|
|
|
|
|
|
|
|
==== Installing from Subversion ==== |
|
|
|
|
|
|
|
|
==== Installing from git ==== |
|
|
|
|
|
|
|
|
If you want to use the development version, you can fetch the sources from |
|
|
If you want to use the development version, you can fetch the sources from |
|
|
subversion |
|
|
|
|
|
$ svn co https:pamusb.svn.sourceforge.net/svnroot/pamusb/trunk/pam_usb |
|
|
|
|
|
|
|
|
GitHub |
|
|
|
|
|
$ git clone git:github.com/aluzzardi/pam_usb.git |
|
|
|
|
|
|
|
|
===== Setting up ===== |
|
|
===== Setting up ===== |
|
|
|
|
|
|
|
|