Manage groups on Solaris
Important
If you feel that Salt should be using this module to manage groups on a minion, and it is using a different module (or gives an error similar to 'group.info' is not available), see here.
salt.modules.solaris_group.
add
(name, gid=None, **kwargs)¶Add the specified group
CLI Example:
salt '*' group.add foo 3456
salt.modules.solaris_group.
chgid
(name, gid)¶Change the gid for a named group
CLI Example:
salt '*' group.chgid foo 4376
salt.modules.solaris_group.
delete
(name)¶Remove the named group
CLI Example:
salt '*' group.delete foo
salt.modules.solaris_group.
getent
(refresh=False)¶Return info on all groups
CLI Example:
salt '*' group.getent
salt.modules.solaris_group.
info
(name)¶Return information about a group
CLI Example:
salt '*' group.info foo
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy