other versions
- stretch 0.11.6-2
- testing 0.12.2-3
- stretch-backports 0.12.2-3~bpo9+1
- unstable 0.12.2-3
ocpasswd(8) | System Management | ocpasswd(8) |
NAME¶
ocpasswd - OpenConnect server password utilitySYNOPSIS¶
ocpasswd [-flags] [-flag [value]] [--option-name[[=| ]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¶
- -c file, --passwd=file
-
Password file. - -g string, --groupname=string
-
User's group name. - -d, --delete
-
Delete user.Removes the specified user from the password file
- -l, --lock
-
Lock user.Prevents the specified user from logging in
- -u, --unlock
-
Unlock user.Re-enables login for the specified user
- -h, --help
-
Display usage information and exit. - -!, --more-help
-
Pass the extended usage information through a pager. - -v [{v|c|n --version [{v|c|n}]}]
-
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 formatThe 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:- 0 (EXIT_SUCCESS)
-
Successful program execution. - 1 (EXIT_FAILURE)
-
The operation failed or the command syntax was not valid. - 70 (EX_SOFTWARE)
-
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 MavrogiannopoulosCOPYRIGHT¶
Copyright (C) 2013-2016 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.orgNOTES¶
This manual page was AutoGen-erated from the ocpasswd option definitions.2017-03-24 | 0.11.6 |