GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OCPASSWD(8) OCPASSWD(8)

ocpasswd - OpenConnect server password utility

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

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

-c, --passwd=FILE:
Specify the password file to use. Only useful when not using the default location.
-g, --group:
Specify the user´s group name.
-d, --delete:
Deletes the specified user from the password file.
-l, --lock:
Prevents the specified user from logging in by locking its password.
-u, --unlock:
Re-enables login for the specified user by unlocking its password.
-h, --help:
Display usage information and exit.
-v, --version:
Output version of program and exit.

The password format of ocpasswd is as follows.
username:groupname:encoded-password
The crypt(3) encoding is used for the encoded-password.

$ ocpasswd -c ocpasswd my_username

$ ocpasswd -c ocpasswd -l my_username

$ ocpasswd -c ocpasswd -u my_username

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

ocserv(8), occtl(8)

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

Written by Nikos Mavrogiannopoulos. Many people have contributed to it.
April 2018

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.