33 lines
819 B
Bash
33 lines
819 B
Bash
# As Root:
|
|
apt install -y git gcc make dh-autoreconf automake libtool asciidoc xsltproc docbook-xsl libpam-dev pkg-config help2man libyubikey-dev libcurl-ocaml-dev asciidoc xsltproc docbook-xsl libusb-1.0-0-dev
|
|
git clone https://github.com/Yubico/yubico-pam.git
|
|
git clone https://github.com/Yubico/yubico-c-client.git
|
|
git clone https://github.com/Yubico/yubico-c.git
|
|
git clone https://github.com/Yubico/yubikey-personalization.git
|
|
|
|
cd yubico-c
|
|
autoreconf --install
|
|
./configure
|
|
make check
|
|
make install
|
|
|
|
cd ../yubico-c-client
|
|
autoreconf --install
|
|
./configure
|
|
make check
|
|
make install
|
|
|
|
cd ../yubikey-personalization
|
|
autoreconf --install
|
|
./configure
|
|
make check
|
|
make install
|
|
|
|
cd ../yubico-pam
|
|
autoreconf --install
|
|
./configure
|
|
make check
|
|
make install
|
|
|
|
mkdir /lib/security
|
|
mv /usr/local/lib/security/pam_yubico.so /lib/security |