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

How to use libpam-otpw?



Hi,
  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: