mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
updated ocpasswd doc
This commit is contained in:
2
NEWS
2
NEWS
@@ -3,6 +3,8 @@
|
||||
- Several updates to allow compilation in FreeBSD.
|
||||
- Prior to leasing an IPv4 ping it to check if it is
|
||||
already in use.
|
||||
- ocpasswd accepts options to lock and unlock users.
|
||||
|
||||
|
||||
* Version 0.1.1 (released 2013-04-03)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* DO NOT EDIT THIS FILE (ocpasswd-args.c)
|
||||
*
|
||||
* It has been AutoGen-ed April 28, 2013 at 03:30:06 PM by AutoGen 5.17.3
|
||||
* It has been AutoGen-ed April 28, 2013 at 03:35:54 PM by AutoGen 5.17.3
|
||||
* From the definitions ocpasswd-args.def
|
||||
* and the template file options
|
||||
*
|
||||
|
||||
@@ -74,3 +74,24 @@ The crypt(3) encoding is used for the encoded-password.
|
||||
_EOT_;
|
||||
};
|
||||
|
||||
doc-section = {
|
||||
ds-type = 'EXAMPLES';
|
||||
ds-format = 'texi';
|
||||
ds-text = <<-_EOT_
|
||||
@subheading Adding a user
|
||||
@example
|
||||
$ ocpasswd -c ocpasswd my_username
|
||||
@end example
|
||||
|
||||
@subheading Locking a user
|
||||
@example
|
||||
$ ocpasswd -c ocpasswd -l my_username
|
||||
@end example
|
||||
|
||||
@subheading Unlocking a user
|
||||
@example
|
||||
$ ocpasswd -c ocpasswd -u my_username
|
||||
@end example
|
||||
_EOT_;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* DO NOT EDIT THIS FILE (ocpasswd-args.h)
|
||||
*
|
||||
* It has been AutoGen-ed April 28, 2013 at 03:30:06 PM by AutoGen 5.17.3
|
||||
* It has been AutoGen-ed April 28, 2013 at 03:35:54 PM by AutoGen 5.17.3
|
||||
* From the definitions ocpasswd-args.def
|
||||
* and the template file options
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user