mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-03-16 03:29:17 +01:00
Update Two_Factor_PAM_Configuration.adoc
This commit is contained in:
parent
482a11ccd2
commit
0c71b6df0e
@ -2,10 +2,10 @@ PAM configuration is somewhat complex, but a typical use-case is to
|
|||||||
require both a password and Yubikey to allow access. This can be
|
require both a password and Yubikey to allow access. This can be
|
||||||
achieved by a PAM configuration like this:
|
achieved by a PAM configuration like this:
|
||||||
|
|
||||||
---
|
----
|
||||||
auth requisite pam_yubico.so id=42
|
auth requisite pam_yubico.so id=42
|
||||||
auth required pam_unix.so use_first_pass
|
auth required pam_unix.so use_first_pass
|
||||||
---
|
----
|
||||||
|
|
||||||
The first line makes pam_yubico check the OTP. Use either a per-user
|
The first line makes pam_yubico check the OTP. Use either a per-user
|
||||||
file called `~/.yubico/authorized_yubikeys`, or a system wide file called
|
file called `~/.yubico/authorized_yubikeys`, or a system wide file called
|
||||||
@ -31,4 +31,4 @@ OTP using your Yubikey. When prompted for the password, enter the Unix
|
|||||||
password first and then (without pressing enter) push the button on your
|
password first and then (without pressing enter) push the button on your
|
||||||
Yubikey.
|
Yubikey.
|
||||||
|
|
||||||
If it doesn't work, enable debugging (see https://developers.yubico.com/yubico-pam[the README] and try again.
|
If it doesn't work, enable debugging (see https://developers.yubico.com/yubico-pam[the README]) and try again.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user