[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4


nisgrpadm Command

Purpose

Creates, deletes, and performs miscellaneous administration operations on NIS+ groups.

Note: To use nisgrpadm, you must have access rights appropriate for the operation.

Syntax

To Create or Delete a Group or to List the Members

nisgrpadm [ -c group_name.domain_name ] [ [ -d ] [ -l group_name ] ]

To Add or Remove Members or Determine if They Belong to the Group

nisgrpadm [ [ -a ] [ -r ] [ -t ] group_name ]]

Note: A member can be any combination of the six membership types.

Description

The nisgrpadm command has two main forms, one for working with groups and one for working with group members.

All operations except create (-c) accept a partially qualified group-names. However, even for the -c flag, nisgrpadm will not accept the use of groups_dir in the group-name argument.

Flags

To Create or Delete a Group or to List the Members


-c group_name.domain_name Creates an NIS+ group. You must have create rights to the groups_dir directory of the group's domain.
-d group_name Deletes an NIS+ group. You must have destroy rights to the groups_dir directory in the group's domain.
-l group_name Lists the members of an NIS+ group. You must have read rights to the group object.

To Add or Remove Members or Determine if They Belong to the Group


-a group_name Adds members to an NIS+ group. You must have modify rights to the group object.
-r group_name Removes members from an NIS+ group. You must have modify rights to the group object.
-t group_name Find out whether an NIS+ principal is a member of a particular NIS+ group. You must have read access to the group object.

Related Information

The nisdefaults command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]