This scripts is used to authenticate users via PAM, currently it supports only users-file as database.
The administrator have to install PAM-script package (http://sourceforge.net/projects/pam-script/), and to fill the users-file.

The installer is highly advised to read the PAM-script documentation.

This should be like the following

/usr/local/otp/ -- must not be accessable by anyone but root
    otp-secrets -- info for each user
    otp-auth    -- the authentication script itself
    cache/      -- cache password:login times pair for the last 5 mins


/etc/pam.d/sshd -- to call otp-auth for authentication (for example)

The service that is been required to have OTP should have the line:

auth required pam_script.so onerr=fail dir=/path/to/where/you/put/the/pam-script.d

the script blocks used passwords in the last 5 mins, and accepts passwords in the range of 3 mins as the motp specs require as default.

This verion has been fixed to work with pam-script-1.1.3 
