Using pts Groups
PTS groups provide a way to grant a list of people access to your files and directories on Andrew. Once a pts group has been created, you can grant it access to an Andrew directory just like you would an individual userid.
The pts program lets you create, view, and maintain PTS groups. To view a full list of pts options, type the following at the Andrew Unix prompt:
pts -help
Note: You can only create, delete, view, and maintain the pts groups that you own, or pts groups that you are a member of that are self-owned (e.g., the pts group owns the group so any group member can maintain the pts group).
Creating pts Groups
To create a pts group, enter the following (where "userid" is your Andrew userid and "name" is the unique name for this group).
pts createg
userid:
name
EXAMPLE: To create the group ju32:mygroup, enter:
pts createg ju32:mygroup
Viewing Group Membership
To view the list of group members, enter the following:
pts members
groupname
EXAMPLE: To view the members of the "ju32" group, enter:
pts members ju32:mygroup
To view the list of groups that you are a member of, type the following (where "userid" is your Andrew userid).
pts members
userid
EXAMPLE: To view the list of groups to which ju32 is a member, enter:
pts members ju32
Adding and Removing Group Members
To add someone to a PTS group, enter:
pts add
userid groupname
EXAMPLE: To add the user jd4 to the group ju32:mygroup, enter:
pts add jd4 ju32:mygroup
To remove a person from a PTS group, enter:
pts remove
userid groupname
EXAMPLE: To remove the user jd4 from the group ju32, enter:
pts remove jd4 ju32:mygroup