![]() ![]() |
![]() |
File: [Pegasus] / pegasus / src / Clients / cimauth / doc / cimauth.html
(download)
/
(as text)
Revision: 1.3, Mon Dec 17 23:37:31 2001 UTC (22 years, 6 months ago) by kumpf Branch: MAIN CVS Tags: test, pep_88, mday-merge-start, mday-merge-pegasus/src/Pegasus/Server, mday-merge-pegasus/src/Pegasus/Common, mday-2-0-patches, local, async_dispatcher, VERSION_2_1_RELEASE_HEAD, VERSION_2_1_RELEASE_BRANCH, VERSION_2_1_RELEASE, VERSION_2_1_1_RELEASE, VERSION_2_01_01, VERSION_2_00_RC_4, VERSION_2_00_RC_3, VERSION_2_00_RC_2, VERSION_2_00_RC_1, VERSION_2_00_BRANCH, VERSION_1_10, VERSION_1_09, VERSION_1_08, VERSION_1_07, TEST, RELEASE_2_4_FC_CANDIDATE_1, RELEASE_2_4_3, RELEASE_2_4_2, RELEASE_2_4_1-BETA3, RELEASE_2_4_1-BETA2, RELEASE_2_4_1-BETA1, RELEASE_2_4_1, RELEASE_2_4_0-RC3, RELEASE_2_4_0-RC2, RELEASE_2_4_0, RELEASE_2_4-root, RELEASE_2_4-branch, RELEASE_2_3_2-testfreeze, RELEASE_2_3_2-root, RELEASE_2_3_2-releasesnapshot, RELEASE_2_3_2-branch-freeze, RELEASE_2_3_2-branch, RELEASE_2_3_1-root, RELEASE_2_3_1-branch, RELEASE_2_3_0-root, RELEASE_2_3_0-msg-freeze, RELEASE_2_3_0-branch, RELEASE_2_2_1-snapshot, RELEASE_2_2_0_0-release, RELEASE_2_2_0-root, RELEASE_2_2_0-branch, RELEASE_2_2-root, PRE_LICENSE_UPDATE_2003, POST_LICENSE_UPDATE_2003, PEP213_SIZE_OPTIMIZATIONS, PEGASUS_FC_VERSION_2_2, MONITOR_CONSOLIDATION_2_5_BRANCH, LOCAL_ASSOCPROV-ROOT, LOCAL_ASSOCPROV-BRANCH, IBM_241_April1405, CQL_2_5_BRANCH, CHUNKTESTDONE_PEP140 Changes since 1.2: +26 -29 lines HP-NB added namspace verification code to AuthorizationHandler.cpp, modified authorization CLI and UserManagerProvider to fix few problems. |
<html> <head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"> <meta NAME="GENERATOR" CONTENT="Microsoft FrontPage 3.0"> <title>cimauth</title> <meta NAME="Template" CONTENT="C:\hp\i\ms\off97pro\32.0\Office\html.dot"> </head> <body LINK="#0000ff" VLINK="#800080"> <h3>cimauth</h3> <h4>Name </h4> <blockquote> <b><p>cimauth</b> - add, modify, remove or list CIM user authorizations.</p> </blockquote> <h4>Synopsis </h4> <blockquote> <code><b><p>cimauth</b> -a -u <i>username</i> -n <em>namespace</em> [ -R ] [ -W ]</p> <b><p>cimauth</b> -m -u <i>username</i> -n <em>namespace</em> [ -R ] [ -W ]</p> <b><p>cimauth</b> -r -u <i>username</i> [ -n <em>namespace </em>]<i></p> </i><b><p>cimauth </b>-l</p> </code> </blockquote> <h4>Remarks</h4> <blockquote> <p>This command does not configure or list CIM user password information (see cimuser (1M)).</p> </blockquote> <h4>Description </h4> <blockquote> <p>The cimauth command provides a command line interface to manage CIM user authorizations. </p> <p>The first form of cimauth allows addition of authorizations to a specified user on a specified namespace. This forms of the command can only be used to add authorizations to one user on one namespace at a time. </p> <p>The second form of cimauth allows modification of existing authorizations for the specified user on a specified namespace. This forms of the command can only be used to modify authorizations to one user on one namespace at a time. </p> <p>If there are no authorizations specified with add and modify options, read authorization is assumed by default.</p> <p>The third form of cimauth allows removal of authorizations for the specified user on a specified namespace. This forms of the command can be used to remove authorizations of one user on one namespace or all the namespaces on which the user has authorizations. If no namespace is specified, then authorizations on all the namespaces for the specified user will be removed.</p> <p>The last form of this command allows listing of the user name, namespace and authorizations. </p> <p>Specifying no options with the cimauth will show the usage of the command.</p> </blockquote> <h4>Options </h4> <blockquote> <p>The cimauth command recognizes the following options: </p> </blockquote> <blockquote> <code><p>-a</code> Indicates that authorizations to be added for a user on a namespace.</p> <code><p>-m</code> Indicates that authorizations to be modified for a user on a namespace.</p> <code><p>-r</code> Indicates that authorizations to be removed for a user on a namespace.</p> <code><p>-l</code> Displays the authorizations of all the authorized users.</p> <code><p>-u</code> <i><code>username</code></i> Indicates a specific user name.</p> <code><p>-n</code> <i><code>namespace</code></i> Indicates a specific namespace.</p> <code><p>-R</code> Indicates read authorization.</p> <code><p>-W</code> Indicates write authorization.</p> </blockquote> <h4>Return Values</h4> <blockquote> <p>cimauth returns one of the following values:</p> </blockquote> <blockquote> <code><p>0</code> Successful completion.</p> <code><p>1</code> Error</p> </blockquote> <blockquote> <p>When an error occurs, an explanatory error message is written to stderr and an error value 1 is returned. </p> </blockquote> <h4>Examples </h4> <blockquote> <p>The following command adds read and write authorizations to user "guest" on namespace "/root/system".</p> </blockquote> <blockquote> <code><b><p>cimauth</b> -a -u guest -n root/system -R -W</p> </code> </blockquote> <blockquote> <p>The following command adds read authorizations to user "guest" on namespace "/root/cimv2".</p> <code><b><p>cimauth</b> -a -u guest -n root/cimv2</p> </code><p>The following command modifies authorizations of the user "guest" on namespace "/root/system" to read only.</p> </blockquote> <blockquote> <code><b><p>cimauth</b> -m -u guest -n root/system -R</p> </code> </blockquote> <blockquote> <p>The following command removes the authorizations for user "guest" on namespace "root/system".</p> </blockquote> <blockquote> <code><b><p>cimauth</b> -r -u guest -n root/system</p> </code><p>The following command displays the list of authorized user names, namespaces and authorizations.</p> </blockquote> <blockquote> <code><b><p>cimauth</b> -l</p> </code> </blockquote> <h4>Author </h4> <blockquote> <b><p>cimauth</b> was developed by the Hewlett-Packard Company. </p> </blockquote> <h4>See Also</h4> <blockquote> <font SIZE="4"><p>cimuser (1M)</font> </p> </blockquote> </body> </html>
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |