From feb86fafba9016af89d5bb4df3b0475bc28a1959 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 29 Nov 2015 14:22:58 +0000 Subject: yubikey fixes --- src/SW/yubikey-auth/document.en.rest.txt | 12 +++++++++--- src/SW/yubikey-auth/document.it.rest.txt | 10 ++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/SW/yubikey-auth/document.en.rest.txt b/src/SW/yubikey-auth/document.en.rest.txt index f26b026..80cff2f 100644 --- a/src/SW/yubikey-auth/document.en.rest.txt +++ b/src/SW/yubikey-auth/document.en.rest.txt @@ -19,17 +19,23 @@ Very rough: * install |pam_u2f|_ + There's still a weird problem in that ebuild, it puts the library in + the wrong directory. You may need to ``cp + /lib/x86_64-linux-gnu/security/pam_u2f.so /lib64/security`` + * add at the top of ``/etc/pam.d/system-login``:: auth required pam_u2f.so -* run:: +* run, as each user on your machine:: mkdir -p ~/config/Yubico - pamu2fcfg -uusername -opam://$(hostname) -ipam://$(hostname) \ + pamu2fcfg -u${USER} -opam://$(hostname) -ipam://$(hostname) \ >> ~/config/Yubico/u2f_keys -* Done. See the |pam_u2f|_ documentation for further details. +* Done. Now you'll need to touch your Yubikey every time you login, + after you type the username but before you type the password. See + the |pam_u2f|_ documentation for further details. .. note:: diff --git a/src/SW/yubikey-auth/document.it.rest.txt b/src/SW/yubikey-auth/document.it.rest.txt index af1e083..454cc14 100644 --- a/src/SW/yubikey-auth/document.it.rest.txt +++ b/src/SW/yubikey-auth/document.it.rest.txt @@ -19,17 +19,23 @@ Versione molto rapida: * installate |pam_u2f|_ + C'รจ un piccolo problema con quel ebuild, mette la libreria nella + directory sbagliata. Forse vi serve fare ``cp + /lib/x86_64-linux-gnu/security/pam_u2f.so /lib64/security`` + * aggiungete questa riga all'inizio di ``/etc/pam.d/system-login``:: auth required pam_u2f.so -* eseguite:: +* eseguite, a nome di ciascun utente:: mkdir -p ~/config/Yubico pamu2fcfg -uusername -opam://$(hostname) -ipam://$(hostname) \ >> ~/config/Yubico/u2f_keys -* Fatto. Leggete la documentazione di |pam_u2f|_ per i dettagli. +* Fatto. Ora dovrete toccare la Yubikey ogni volta che vi autenticate, + dopo aver digitato il nome utente ma prima della password. Leggete + la documentazione di |pam_u2f|_ per i dettagli. .. note:: -- cgit v1.2.3