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


Manual Reference Pages  -  OCPASSWD (8)

NAME

-Font]ocpasswd - OpenConnect server password utility

CONTENTS

Synopsis
Files
Examples

SYNOPSIS

-Font]ocpasswd [-Font]-flags]] [-Font]-flag] [-Font]value]]] [-Font]--option-name][[=| ]-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

-Font]-c] -Font]file], -Font]--passwd]=-Font]file]
  Password file.

-Font]-g] -Font]string], -Font]--groupname]=-Font]string]
  User’s group name.

-Font]-d], -Font]--delete]
  Delete user.

Removes the specified user from the password file

-Font]-l], -Font]--lock]
  Lock user.

Prevents the specified user from logging in

-Font]-u], -Font]--unlock]
  Unlock user.

Re-enables login for the specified user

-Font]-h], -Font]--help]
  Display usage information and exit.
-Font]-!], -Font]--more-help]
  Pass the extended usage information through a pager.
-Font]-v] [{-Font]v|c|n] -Font]--version] [{-Font]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 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:
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 Mavrogiannopoulos

COPYRIGHT

Copyright (C) 2013, 2014 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.
Search for    or go to Top of page |  Section 8 |  Main Index


0.10.12 OCPASSWD (8) 16 Apr 2016

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