From 8f8df70756230fe3c7527c913030812dc625e8f0 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" 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 -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 ca-user-find +.B pki 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 ca-user-show +.B pki ca-user-find --start 20 --size 10 -To add a user: +The above command will return entries #20 to #29. -.B pki ca-user-add --fullName "" +To view the details of a CA user, specify the user ID in the following command: -To delete a user: +.B pki ca-user-show testuser -.B pki ca-user-del +To add a new CA user, specify the user ID and at least the full name in the following command: + +.B pki 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-user-mod testuser --email testuser@example.com --phone 123-456-7890 + +To delete a CA user, specify the user ID in the following command: + +.B pki ca-user-del testuser .SH AUTHORS Ade Lee , Endi Dewata , and Matthew Harmsen . -- 1.9.3