[Pki-devel] [PATCH] 604 Fixed man page for pki user-mod.

Endi Sukma Dewata edewata at redhat.com
Wed Jun 3 15:48:25 UTC 2015


https://fedorahosted.org/pki/ticket/835

-- 
Endi S. Dewata
-------------- next part --------------
From 8f8df70756230fe3c7527c913030812dc625e8f0 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata at redhat.com>
Date: Wed, 3 Jun 2015 00:46:18 -0400
Subject: [PATCH] Fixed man page for pki user-mod.

https://fedorahosted.org/pki/ticket/835
---
 base/java-tools/man/man1/pki-user.1 | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

diff --git a/base/java-tools/man/man1/pki-user.1 b/base/java-tools/man/man1/pki-user.1
index c7b9920c849043900fa77944609ea3472addc5c0..7bd2fa780531d1e4d3e6003bcc97886ed755400f 100644
--- a/base/java-tools/man/man1/pki-user.1
+++ b/base/java-tools/man/man1/pki-user.1
@@ -71,21 +71,31 @@ To view available user commands, type \fBpki <subsystem>-user\fP. To view each c
 
 All user commands must be executed as the subsystem administrator.
 
-To list users in CA, use \fBpki ca-user-find\fP.  It is possible to select the page size to limit the size of the results.  To list all users:
+For example, to list users in CA execute the following command:
 
-.B pki <admin authentication> ca-user-find
+.B pki <CA admin authentication> ca-user-find
 
-To view a particular user:
+The results can be paged by specifying the (0-based) index of the first entry to return and the maximum number of entries returned:
 
-.B pki <admin authentication> ca-user-show <user ID>
+.B pki <CA admin authentication> ca-user-find --start 20 --size 10
 
-To add a user:
+The above command will return entries #20 to #29.
 
-.B pki <admin authentication> ca-user-add <user ID> --fullName "<full name>"
+To view the details of a CA user, specify the user ID in the following command:
 
-To delete a user:
+.B pki <CA admin authentication> ca-user-show testuser
 
-.B pki <admin authentication> ca-user-del <user ID>
+To add a new CA user, specify the user ID and at least the full name in the following command:
+
+.B pki <CA admin authentication> ca-user-add testuser --fullName \*(lqTest User\*(rq
+
+To modify a CA user, specify the user ID and the attributes to be changed in the following command:
+
+.B pki <CA admin authentication> ca-user-mod testuser --email testuser at example.com --phone 123-456-7890
+
+To delete a CA user, specify the user ID in the following command:
+
+.B pki <CA admin authentication> ca-user-del testuser
 
 .SH AUTHORS
 Ade Lee <alee at redhat.com>, Endi Dewata <edewata at redhat.com>, and Matthew Harmsen <mharmsen at redhat.com>.
-- 
1.9.3



More information about the Pki-devel mailing list