Manage groups on Solaris

salt.modules.solaris_group.add(name, gid=None, **kwargs)

Add the specified group

CLI 范例:

salt '*' group.add foo 3456
salt.modules.solaris_group.chgid(name, gid)

Change the gid for a named group

CLI 范例:

salt '*' group.chgid foo 4376

Remove the named group

CLI 范例:

salt '*' group.delete foo

Return info on all groups

CLI 范例:

salt '*' group.getent

Return information about a group

CLI 范例:

salt '*' foo