pts_listowned - Show the Protection Database groups owned by a user or group


pts listowned -nameorid <user or group name or id>+ [-cell <cell name>] [-noauth] [-localauth] [-force] [-help] [-auth] [-encrypt [<yes|no>]] [-config <configuration file>]


The pts listowned command lists the groups owned by each user or group specified by the -nameorid argument.

To list any orphaned groups, whose owners have themselves been deleted from the Protection Service, provide a value of 0 (zero) for the -nameorid argument. To change the owner to a user or group that still exists, use the pts_chown(1) command.


-nameorid <user or group name or id>+

Specifies the name or AFS UID of each user, the name or AFS GID of each group, or the IP address (complete or wildcard-style) or AFS UID of each machine. It is acceptable to mix users, machines, and groups on the same command line, as well as names (IP addresses for machines) and IDs. Precede the GID of each group with a hyphen to indicate that it is negative.

A value of 0 (zero) lists group entries for groups whose owners no longer have entries in the Protection Service.


Use the calling user's tokens to communicate with the Protection Server. For more details, see pts(1).

-cell <cell name>

Names the cell in which to run the command. For more details, see pts(1).

-config <configuration file>

Sets the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf. For more details, see pts(1).

-encrypt [<yes|no>]

Enables or disables encryption for any communication with the Protection Server. For more details, see pts(1).


Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the first error.


Prints the online help for this command. All other valid options are ignored.


Constructs a server ticket using a key from the local /etc/yfs/server/KeyFileExt file. Do not combine this flag with the -cell or -noauth options. For more details, see pts(1).


Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).


The first line of the output indicates the name and Auristor User Number (AUN) or Auristor Group Number (AGN) of each user or group for which ownership information is requested, in the following format:

   Groups owned by <name> (id: <AUN>) are:

A list of groups follows. The list does not include groups owned by groups that the user or group owns, or to which the user or group belongs. If the user or group does not own any groups, only the header line appears.

The following error message appears if the issuer is not privileged to view ownership information. By default, for both user and group entries the (O) privacy flag is the hyphen -, which denies permission to anyone other than the user (for a user entry), the machine (for a machine entry) and the members of the system:administrators group.

   pts: Permission denied ; unable to get owner list for <name> (id: <AUN>)


The following example lists the groups owned by user terry and shows that the group terry:friends does not own any groups:

   % pts listowned terry terry:friends
   Groups owned by terry (id: 1045) are:
   Groups owned by terry:friends (id: -673) are:


The required privilege depends on the setting of the (O) privacy flag in the Protection Service entry of each user, machine or group indicated by the -nameorid argument (use the pts_examine(1) command to display the flags):


pts(1), pts_chown(1), pts_examine(1), pts_setaccess(1), pts_setfields(1)


IBM Corporation 2000. All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.


"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.