1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-20 21:54:16 +01:00

document how to use ykpamcfg with path instead of moving file

This commit is contained in:
Klas Lindfors 2016-02-26 09:31:17 +01:00
parent 44c45d1b80
commit f7b529fa94

View File

@ -74,10 +74,14 @@ If your /home/user folder is encrypted you should move the challenge file in a d
$ mkdir /var/yubico
$ chmod +t /var/yubico
$ chmod 777 /var/yubico
$ mv /home/user/.yubico/challenge-####### /var/yubico/username-#######
$ ykpamcfg -2 -v -p /var/yubico
...
It is important that you name the file with the username of the user that is going to use the Yubikey
Stored initial challenge and expected response in '/var/yubico/alice-123456'.
$
----
It is important that the file is namned with the name of the user that is going to be authenticated by this YubiKey.
Finally we tell the pam module where to look for the challenge file
$ emacs /etc/pam.d/common-auth