Manage groups on Solaris


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 '' 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

Remove the named group

CLI Example:

salt '*' group.delete foo

Return info on all groups

CLI Example:

salt '*' group.getent

Return information about a group

CLI Example:

salt '*' foo