Setting OpenOTP
- Get latest version from http://www.splintered.net/sw/otp/
- cd ootp-release-1.03/otp-control
- make i386-linux
- mkdir /etc/otpdb
- chown <user running otp>:<group running otp> /etc/otpdb
- ./otp-control -n -m create
Adding an user
- ./otp-control -u adulau -m add
Getting key for the token
- ./otp-control -u adulau -m list
Setting the OTP format for a user
- ./otp-control -u adulau -m set-format -f dec31.6
Resetting the counter for a user
- ./otp-control -u adulau -m set-count -c 0
Setting the small Radius server of OpenOTP