pts_listmax(1)

pts_listmax1

Displays the max user id and max group id counters

Usage

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>]

Overview

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.

Options

-auth

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 <config directory>

Use an alternate config directory. For more details, see pts(1).

-encrypt

Encrypts any communication with the Protection Server. For more details, see pts(1).

-force

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

-help

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

-localauth

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

-noauth

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

Output

The command displays the counters in the following format:

   Max user id is <user_counter> and max group id is <group_counter>.

Examples

The following example displays the output of this command:

   % pts listmax
   Max user name is 1271 and max group id is -382.

Privilege required

None

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

-auth since Debian 10 (Buster); -encrypt since Debian 10 (Buster); -localauth since Debian 5.0 (Lenny).

From openafs-client 1.8.13.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.