cimauth(8)
β¨ NAME β¨
cimauth β add, modify, remove, or list CIM namespace authorizations of users.
okay so bestie, this is the cimauth(8) page, and it's genuinely one of the good ones. let's get into it π
πΈ SYNOPSIS πΈ
cimauth -a -u username -n namespace [ -R ] [ -W ]
cimauth -m -u username -n namespace [ -R ] [ -W ]
cimauth -r -u username [ -n namespace ]
cimauth -l
cimauth -h
cimauth --help
cimauth --version
like, pick a lane, choose your adventure, it's giving very much "one of these is your moment" π
π¦ DESCRIPTION π¦
So. The cimauth command manages read and write CIM namespace authorizations of users. The operations are executed on the local host by submitting requests to the CIM Server. Lowkey elegant, no cap.
Here's the tea tho: if the value of the configuration property enableNamespaceAuthorization is True, the CIM Server restricts access to namespaces based on user authorizations configured via cimauth. Iconic behavior fr.
Changes to "Dynamic" authorization parameters do not require the CIM Server to be restarted. "Non Dynamic" configuration properties (E.g. enableNamespaceAuthorization) can only be set as planned configuration and the CIM Server needs to be restarted to realize the change. So don't come crying to me when your config isn't live, bestie, restart the server π
(See cimconfig(8) for information on configuring the CIM Server.)
π Options π
The cimauth command recognizes the following options:
-aβ Adds read and/or write authorizations to the specified user on the specified namespace. If neither the-Rnor the-Woption is specified, adds a read authorization by default. (defaults being generous, we love to see it β¨)-h,--helpβ Display command usage information. your lil helper π«Ά-lβ Lists all the authorizations configured in the CIM Server. the full roster, everyone's here π-mβ Modifies authorizations of the specified user on the specified namespace. If neither the-Rnor the-Woption is specified, modifies the authorization to be a read authorization by default. glow-up arc, but make it permissions π-nnamespace β Specifies the namespace for the operation.-rβ Removes authorizations of the specified user on the specified namespace. If no namespaces are specified, removes authorizations on all namespaces for the specified user. it's giving scorched earth π-Rβ Specifies read authorization on the namespace.-uusername β Specifies the user for the operation. The specified username must represent a valid user on the local host. no fake accounts, no imaginary besties, real users only.--versionβ Display CIM Server version number. number drop π-Wβ Specifies write authorization on the namespace. with great write access comes great responsibility fr fr
π EXIT STATUS π
When an error occurs, an error message is written to stderr and an error value of 1 is returned. The following return values are returned:
0β Successful completion π1β Error π
π«Ά USAGE NOTE π«Ά
The cimauth command requires that the CIM Server is running.
bestie. if the CIM Server isn't running, none of this is happening. it's not a suggestion, it's the whole premise. vibe check the server first π
π EXAMPLES π
Add read authorizations to user "guest" on namespace "root/cimv2".
cimauth -a -u guest -n root/cimv2 -R
Add read and write authorizations to user "guest" on namespace "root/system".
cimauth -a -u guest -n root/system -R -W
Modify authorizations of the user "guest" on namespace "root/system" to read only.
cimauth -m -u guest -n root/system -R
Remove the authorizations of the user "guest" on namespace "root/system".
cimauth -r -u guest -n root/system
List all the authorizations configured in the CIM Server.
cimauth -l
look at you go, running commands and everything π₯Ή proud of u
π SEE ALSO π
cimserver(8), cimconfig(8).
go read those too, they're the supporting cast and they ate π
and that's the whole page, bestie!! you just read cimauth(8) β that's the manual name, the source, the whole entire thing, and no date is listed on it, so consider this timeless π periodt.
π¦ where this page comes from
- centos-stream 10: tog-pegasus 2:2.14.1-79.el10 Β· MIT
- centos-stream 9: tog-pegasus 2:2.14.1-68.el9 Β· MIT
- fedora 43: tog-pegasus 2:2.14.1-86.fc43 Β· MIT
- fedora 44: tog-pegasus 2:2.14.1-89.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms