📄 cimauth.8
字号:
.\" $Header: /cvs/MSB/pegasus/rpm/manLinux/man8.Z/cimauth.8,v 1.3 2004/12/08 06:36:41 a.arora Exp $.\" .TA c \" lowercase initial letter of .TH name.TH "cimauth" "8" "" "" "".SH "NAME"cimauth \- add, modify, remove, or list CIM namespace authorizations of users.SH "SYNOPSIS"\fBcimauth\fP \fB\-a\fP \fB\-u\fP username \fB\-n\fP namespace [ \fB\-R\fP ] [ \fB\-W\fP ]\fBcimauth\fP \fB\-m\fP \fB\-u\fP username \fB\-n\fP namespace [ \fB\-R\fP ] [ \fB\-W\fP ]\fBcimauth\fP \fB\-r\fP \fB\-u\fP username [ \fB\-n\fP namespace ]\fBcimauth\fP \fB\-l\fP\fBcimauth\fP \fB\-h\fP\fBcimauth\fP \fB\-\-help\fP\fBcimauth\fP \fB\-\-version\fP.SH "DESCRIPTION".PP The .B cimauth command managesread and write CIM namespace authorizations of users. The operations areexecuted on the local host by submitting requests to the CIM Server.If the value of the configuration property .B enableNamespaceAuthorizationis .B True ,the CIM Server restricts access to namespaces based on userauthorizations configured via .B cimauth . Changes to "Dynamic" authorization parameters does not require the CIM Server to be restarted. "Non Dynamic" configuration properties (E.g. \fBenableNamespaceAuthorization\fP ) can only be set as planned configuration and the CIM Server needs to be restarted to realize the change.(See .B "cimconfig (8)" for information on configuring the CIM Server.).SS Options.PP The .B cimauth command recognizes the following options:.RS.TP 15.B \-aAdds read and/or write authorizations to the specified user on the specifiednamespace. If neither the.B \-Rnor the .B \-W option is specified, adds a read authorization by default..TP .B \-h, \-\-helpDisplay command usage information..TP .B \-lLists all the authorizations configured in the CIM Server..TP .B \-mModifies authorizations of the specified user on the specified namespace.If neither the .B \-R nor the .B \-W option is specified, modifies the authorization to bea read authorization by default..TP \fB\-n\fP namespaceSpecifies the .I R namespace for the operation..TP .B \-rRemoves authorizations of the specified user on the specified namespace.If no namespaces are specified, removes authorizations on all namespacesfor the specified user..TP .B \-RSpecifies read authorization on the namespace..TP \fB\-u\fP usernameSpecifies the user for the operation. The specified .I R username must represent a valid user on the local host..TP .B \-\-versionDisplay CIM Server version number..TP .B \-WSpecifies write authorization on the namespace..RE.SH "EXIT STATUS".PP When an error occurs, anerror message is written to stderr and an error value of 1 is returned. Thefollowing return values are returned:.RS.TP .B 0Successful completion.PD 0.TP .B 1Error.PD.RE.SH "USAGE NOTE".PP The .B cimauth command requires that the CIM Server is running..SH "EXAMPLES".PP Add read authorizations to user "guest" on namespace "root/cimv2"..IP .B "cimauth \-a \-u guest \-n root/cimv2 \-R".PP Add read and write authorizations to user "guest" on namespace "root/system"..IP .B "cimauth \-a \-u guest \-n root/system \-R \-W".PP Modify authorizations of the user "guest" on namespace "root/system" to read only..IP .B "cimauth \-m \-u guest \-n root/system \-R".PP Remove the authorizations of the user "guest" on namespace "root/system"..IP .B "cimauth \-r \-u guest \-n root/system".PP List all the authorizations configured in the CIM Server..IP .B "cimauth \-l".SH "SEE ALSO".PP cimserver(8), cimconfig(8).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -