ocpasswd(8)

NAME
*[B-Font]ocpasswd - OpenConnect server password utility

SYNOPSIS
*[B-Font]ocpasswd [*[B-Font]-flags] [*[B-Font]-flag [*[I-Font]value]] [*[B-Font]--option-name[[=| ]*[I-Font]value]] [username]

Operands and options may be intermixed. They will be reordered.

DESCRIPTION
This program is openconnect password (ocpasswd) utility. It allows the generation and handling of a 'plain' password file used by ocserv.

OPTIONS

Password file.

User's group name.

Delete user.

    Removes the specified user from the password file

Lock user.

    Prevents the specified user from logging in

Unlock user.

    Re-enables login for the specified user

Display usage information and exit.

Pass the extended usage information through a pager.

Output version of program and exit.  The default mode is `v', a simple
    version. The `c' mode will print copyright information and `n' will print the full copyright notice.

FILES
Password file format
The password format of ocpasswd is as follows.

username:groupname:encoded-password

The crypt(3) encoding is used for the encoded-password.

EXAMPLES
Adding a user
$ ocpasswd -c ocpasswd my_username

Locking a user
$ ocpasswd -c ocpasswd -l my_username

Unlocking a user
$ ocpasswd -c ocpasswd -u my_username

EXIT STATUS
One of the following exit values will be returned:

Successful program execution.

The operation failed or the command syntax was not valid.

libopts had an internal operational error.  Please report
    it to autogen-users@lists.sourceforge.net. Thank you.

SEE ALSO
ocserv(8), occtl(8)

AUTHORS
Nikos Mavrogiannopoulos

COPYRIGHT
Copyright (C) 2013-2017 Nikos Mavrogiannopoulos all rights reserved. This program is released under the terms of the GNU General Public License, version 2.

BUGS
Please send bug reports to: openconnect-devel@lists.infradead.org

NOTES
This manual page was AutoGen-erated from the ocpasswd option definitions.