1OCPASSWD(8)                                                        OCPASSWD(8)
2
3
4

NAME

6       ocpasswd - OpenConnect server password utility
7

SYNOPSIS

9       ocpasswd [--option-name[=value]] [´username´]
10

DESCRIPTION

12       This  program is openconnect password (ocpasswd) utility. It allows the
13       generation and handling of a ´plain´ password file used by ocserv.
14

OPTIONS

16       -c, --passwd=FILE:
17              Specify the password file to use. Only useful when not using the
18              default location.
19
20       -g, --group:
21              Specify the user´s group name.
22
23       -d, --delete:
24              Deletes the specified user from the password file.
25
26       -l, --lock:
27              Prevents the specified user from logging in by locking its pass‐
28              word.
29
30       -u, --unlock:
31              Re-enables login for the specified user by unlocking  its  pass‐
32              word.
33
34       -h, --help:
35              Display usage information and exit.
36
37       -v, --version:
38              Output version of program and exit.
39

FILES

41       The password format of ocpasswd is as follows.
42
43
44
45           username:groupname:encoded-password
46
47
48
49       The crypt(3) encoding is used for the encoded-password.
50

EXAMPLES

52   Adding a user
53       $ ocpasswd -c ocpasswd my_username
54
55   Locking a user
56       $ ocpasswd -c ocpasswd -l my_username
57
58   Unlocking a user
59       $ ocpasswd -c ocpasswd -u my_username
60

Exit status

62       0      Successful program execution.
63
64       1      The operation failed or the command syntax was not valid.
65

SEE ALSO

67       ocserv(8), occtl(8)
68
70       Copyright  (C) 2013-2017 Nikos Mavrogiannopoulos and others, all rights
71       reserved. This program is released under the terms of the  GNU  General
72       Public License, version 2.
73

AUTHORS

75       Written by Nikos Mavrogiannopoulos. Many people have contributed to it.
76
77
78
79                                  April 2018                       OCPASSWD(8)
Impressum