Yubiserver-admin administration tool for the yubiserver yubikey otp and hotp/oath validation server.
yubiserver-admin [[-b FILE]] [table] [options]
yubiserver-admin is a free tool provided for the administration of the simple and lightweight OTP and HOTP/OATH validation server.
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
Choose Yubikey Token table.
Choose OATH Token table.
Choose API Key table.
Add Yubikey/OATH token or API Key 'N' user where N is the username, P the Public Token ID, S the Secret ID and A the AES Key. N must be 16 characters max,P must be 12 characters for Yubikey and HOTP/OATH. S must be 12 characters for Yubikey and 40 for OATH and AES key must be 32 characters. Adding a user to API keys requires a username and a API Key 20 characters long.
Delete Yubikey/OATH token or API Key 'N' user.
Enable Yubikey/OATH token 'N' user.
Disable Yubikey/OATH token 'N' user.
List Yubikey/OATH token or API Key
Use this SQLite3 database file (optional).
Show summary of options.
Show version of program.
Adding a new user for Yubikey OTP authentication.
yubiserver-admin -y -a nanakos ccicdcfehlvv c6963f285d78 108e504f37fef82s3b6gb3a45708405c
yubiserver-admin -b yubiserver.sqlite -y -a nanakos ccicdcfehlvv c6963f285d78 108e504f37fef82s3b6gb3a45708405c
Adding a new user for Yubikey HOTP/OATH authentication.
yubiserver-admin -o -a nanakos ccicdcfehlvv 7b02bee356c98c4c7488af9e54vve710de33e9f7
yubiserver-admin -b yubiserver.sqlite -o -a nanakos ccicdcfehlvv 7b02bee356c98c4c7488af9e54vve710de33e9f7
Adding a new API Key user. Needed for enabling your user to validate to the server
yubiserver-admin -p -a nanakos `base64 --wrap=0 /dev/urandom | head -c 20`
yubiserver-admin -b yubiserver.sqlite -p -a nanakos `base64 --wrap=0 /dev/urandom | head -c 20`
yubiserver (1).
This manual page was written by Nanakos Chrysostomos <[email protected]> for the Debian GNU/Linux system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.