1TOTPPROV(1)                                                        TOTPPROV(1)
2
3
4

NAME

6       totpprov - Simple provisioning script for totpcgi
7

SYNOPSIS

9          totpprov [-c /path/to/provisioning.conf] command username
10

DESCRIPTION

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

OPTIONS

17          --version
18                 show program's version number and exit
19
20          -h, --help
21                 show this help message and exit
22
23          -c CONFIG_FILE, --config=CONFIG_FILE
24                 Path  to  provisioning.conf (Default: /etc/totpcgi/provision‐
25                 ing.conf)
26

COMMANDS

28       delete-user
29              deletes user record
30
31       delete-user-state
32              deletes any existing state information for user
33
34       delete-user-pincode
35              deletes pincode entry for user
36
37       delete-user-token
38              deletes the token issued to user
39
40       set-user-pincode
41              sets pincode for user
42
43       encrypt-user-token
44              encrypts existing token with the user's pincode
45
46       decrypt-user-token
47              decrypts existing encrypted token with the user's pincode
48
49       generate-user-token
50              generates a new token for user
51
52       provision-user
53              provisions a new user
54

EXAMPLES

56       To provision a user:
57
58          totpprov provision-user bobafett
59
60       To delete a user:
61
62          totpprov delete-user bobafett
63
64       To delete a token:
65
66          totpprov delete-user-token bobafett
67
68       To set/change user pincode:
69
70          totpprov set-user-pincode bobafett
71
72       To generate a new google-authenticator token for user:
73
74          totpprov generate-user-token bobafett
75

AUTHOR

77       konstantin@linuxfoundation.org
78
79       License: GPLv2+
80
82       Linux Foundation and contributors
83
84
85
86
870.5.5                             2013-09-20                       TOTPPROV(1)
Impressum