Carnegie Mellon University Website Home Page
 

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

For example:


pts createg ju32:mygroup

creates the group ju32:mygroup.

Viewing Group Membership

To view the list of group members, enter the following:


pts members 
groupname

For example:


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

For example:


pts members ju32

Adding and Removing Group Members

To add someone to a PTS group, type:


pts add 
userid groupname

For example:


pts add jd4 ju32:mygroup

adds the user jd4 to the group ju32:mygroup.

To remove a person from a PTS group, type:


pts remove 
userid groupname

For example:


pts remove jd4 ju32:mygroup

removes the user jd4 from the group ju32:mygroup.

Last Update: 6/27/05