Jens Czyborra <[email protected]> writes:

> Now with 
>
> HOTP/T60        root    -       XXXXXXX
>
> where XXXXXX is my key that works with the oath-toolkit on my archlinux.
>
> i get this:

The error indicates a problem with the usersfile, are you sure you have
it installed as /etc/users.oath and it is readable by the PAM module?

But I still suspect your real problem is that TOTP is not supported.
Well, it is in 1.10.0 which is going to be released within minutes.  So
please upgrade. :-)

/Simon

> jens@fs-home:~$ su
> [pam_oath.c:parse_cfg(118)] called.
> [pam_oath.c:parse_cfg(119)] flags 0 argc 2
> [pam_oath.c:parse_cfg(121)] argv[0]=debug
> [pam_oath.c:parse_cfg(121)] argv[1]=usersfile=/etc/users.oath
> [pam_oath.c:parse_cfg(122)] debug=1
> [pam_oath.c:parse_cfg(123)] alwaysok=0
> [pam_oath.c:parse_cfg(124)] try_first_pass=0
> [pam_oath.c:parse_cfg(125)] use_first_pass=0
> [pam_oath.c:parse_cfg(126)] usersfile=/etc/users.oath
> [pam_oath.c:parse_cfg(127)] digits=0
> [pam_oath.c:parse_cfg(128)] window=5
> [pam_oath.c:pam_sm_authenticate(157)] get user returned: root
> One-time password (OATH) for `root': 
> [pam_oath.c:pam_sm_authenticate(232)] conv returned: 559633
> [pam_oath.c:pam_sm_authenticate(292)] OTP: 559633
> [pam_oath.c:pam_sm_authenticate(305)] authenticate rc -12 (OATH_UNKNOWN_USER: 
> Cannot find information about user) last otp Sun Jun  7 23:44:32 1931
>
> [pam_oath.c:pam_sm_authenticate(311)] One-time password not authorized to 
> login as user 'root'
> [pam_oath.c:pam_sm_authenticate(327)] done. [Fehler bei Authentifizierung]

Reply via email to