1TOTPPROV(1) TOTPPROV(1)
2
3
4
6 totpprov - Simple provisioning script for totpcgi
7
9 totpprov [-c /path/to/provisioning.conf] command username
10
12 This is a simple command-line provisioning script for totpcgi. It uses
13 the backend information and default parameters data found in provision‐
14 ing.conf to operate on user records.
15
17 --version
18 show program's version number and exit
19
20 -h, --help
21 show this help message and exit
22
23 --hotp generate HOTP token instead of TOTP
24
25 -c CONFIG_FILE, --config=CONFIG_FILE
26 Path to provisioning.conf (Default: /etc/totpcgi/provision‐
27 ing.conf)
28
30 delete-user
31 deletes user record
32
33 delete-user-state
34 deletes any existing state information for user
35
36 delete-user-pincode
37 deletes pincode entry for user
38
39 delete-user-token
40 deletes the token issued to user
41
42 set-user-pincode
43 sets pincode for user
44
45 encrypt-user-token
46 encrypts existing token with the user's pincode
47
48 decrypt-user-token
49 decrypts existing encrypted token with the user's pincode
50
51 generate-user-token
52 generates a new token for user
53
54 provision-user
55 provisions a new user
56
58 To provision a user:
59
60 totpprov provision-user bobafett
61 totpprov --hotp provision-user bobafett
62
63 To delete a user:
64
65 totpprov delete-user bobafett
66
67 To delete a token:
68
69 totpprov delete-user-token bobafett
70
71 To set/change user pincode:
72
73 totpprov set-user-pincode bobafett
74
75 To generate a new google-authenticator token for user:
76
77 totpprov generate-user-token bobafett
78
80 konstantin@linuxfoundation.org
81
82 License: GPLv2+
83
85 Linux Foundation and contributors
86
87
88
89
900.6 2013-09-20 TOTPPROV(1)