diff --git a/README b/README index 34338e8..40b1415 100644 --- a/README +++ b/README @@ -284,6 +284,37 @@ Enter your Yubikey OTP and convert it, your Yubikey token ID is 12 digits and li Modhex encoded: XXXXXXX +Not sure what that last bit meant? Here is how to get a copy of your OTP. + +Fast way +======== +* Open a terminal +* Press yubikey button + +It will output an OTP into the shell: + +------ + $ cccccccgklgcvnkcvnnegrnhgrjkhlkfhdkclfncvlgj + bash: cccccccgklgcvnkcvnnegrnhgrjkhlkfhdkclfncvlgj: command not found +------ + +This can be pasted into the Modhex_Calculator page. + +Harder way +========== +This requires you to have the pam module enabled with 'debug' turned on. When +prompted for the yubikey press the button. The pam module will print out debug +information including the OTP and ID of your token to the shell - copy the ID +into your config file and you should be up and going. + +------ + Yubikey for `youruser': + [pam_yubico.c:pam_sm_authenticate(867)] conv returned 44 bytes + [pam_yubico.c:pam_sm_authenticate(885)] Skipping first 0 bytes. Length is 44, token_id set to 12 and token OTP always 32. + [pam_yubico.c:pam_sm_authenticate(892)] OTP: ccccccclabcabkhbdncicglfltnukadfoifadfhhhhfe ID: cccccclabcab +------ + + Yubico PAM module and SELinux. ------------------------------ Users with SELinux in enforcing mode (the default on Fedora 17+) may experience