PTS_LISTMAX(1) | AFS Command Reference | PTS_LISTMAX(1) |
pts_listmax - Displays the max user id and max group id counters
pts listmax
[-cell <cell name>] [-noauth]
[-localauth]
[-force] [-help] [-auth] [-encrypt]
[-config <config directory>]
pts listm
[-c <cell name>] [-n] [-l]
[-f] [-h]
[-a] [-e]
[-co <config directory>]
The pts listmax command displays the values of the "max user id" and "max group id" counters, which the Protection Server uses to track the AFS user IDs (AFS UIDs) it allocates to new users or machines, and the AFS group IDs (AFS GIDs) it allocates to new groups, respectively. When an administrator next issues the pts createuser command and does not include the -id argument, the new user or machine receives an AFS UID one greater than the "max user id" counter, and when a user issues the pts creategroup command and does not include the -id argument, the new group receives an AFS UID one less (more negative) than the "max group id" counter.
To reset one or both counters, members of the system:administrators group can issue the pts setmax command.
The command displays the counters in the following format:
Max user id is <user_counter> and max group id is <group_counter>.
The following example displays the output of this command:
% pts listmax Max user name is 1271 and max group id is -382.
None
IBM Corporation 2000. <http://www.ibm.com/> 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.
2021-01-27 | OpenAFS |