pts

Previous: fs

Up: AFS Commands

Next: aklog


pts

The command pts is used to contact the AFS Protection Server, an AFS server that stores all the information on AFS users and groups. You can create your own groups and add members to them with the commands pts creategroup and pts adduser. You can remove users from groups with pts removeuser and delete groups with pts delete. You can get the members of a group with pts membership and find out information about a group with pts examine.

Suppose jis wants to create the group called jis:6.001. He will first check to see whether the group exists. Then he will create it and add some people to it.

athena% pts examine jis:6.001
pts: User or group doesn't exist so couldn't look up id for jis:6.001
athena% pts creategroup jis:6.001
group jis:6.001 has id -65574
athena% pts adduser jis jis:6.001
athena% pts adduser lnp jis:6.001
athena% pts adduser cuban jis:6.001
athena% pts membership jis:6.001
Members of jis:6.001 are:
  lnp
  jis
  cuban
Note that jis must add himself to the group jis:6.001; you are not by default a member of any group you create.

Now that he has created the group, he can give its members access to his scheme directory.

athena% fs sa scheme jis:6.001 all
athena% fs la scheme
Access list for scheme is
Normal rights:
  jis:6.001 rlidwka
  system:expunge ld
  system:anyuser rl
  jis rlidwka
  srz rlidwk

You can use pts membership to get the members of most system-controlled lists as well as of user-controlled lists. Even though Moira can give you this information as well, it is sometimes faster to get the information from AFS.

Note that unlike NFS groups, you do not have to wait for system updates for changes to AFS groups to take effect. They take effect as soon as the user re-authenticates to the cell. The easiest way to do that is to type renew, and then enter your Athena password at the Password: prompt.