[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to use libpam-otpw?

  I installed libpam-otpw a few days ago and configured it as:
--- /etc/ssh/sshd_config ---
UsePrivilegeSeparation no
ChallengeResponseAuthentication yes
--- /etc/pam.d/sshd ---
#@include common-auth
auth required pam_otpw.so
session optional pam_otpw.so

  Now when I login, it prompt me for the one time password. But if I
just press Enter for three times, it asks me for normal password
again. Is this correct, or my configuration is wrong?

Reply to: