PTS_SETMAX(1)
π PTS_SETMAX(1) β AFS Command Reference β¨
okay bestie, so this is pts_setmax, and yes it lives in the AFS Command Reference corner of the manual-verse. she sets the value of the max group id or max user id counter. lowkey iconic, highkey important. let's get into it π«Ά
π NAME
pts_setmax β sets the value of the max group id or max user id counter
πΈ SYNOPSIS
pts setmax [-group <group max>] [-user <user max>]
[-cell <cell name>] [-noauth] [-localauth] [-force] [-help]
[-auth] [-encrypt] [-config <config directory>]
pts setm [-g group max>] [-u <user max>]
[-c <cell name>] [-n] [-l] [-f] [-h]
[-a] [-e] [-co <config directory>]
bestie I am begging you to notice that second synopsis line says [-g group max>]. that is not a typo I made, that is character for character what the page says. we do not fix the original in this household. periodt π
π¦ DESCRIPTION
so the pts setmax command sets the value of one or both of the counters that keep track of the IDs the Protection Server hands out to new users, machines, or groups. there are two of them, and they are:
- the "max user id" counter β this is for the AFS user IDs (AFS UIDs) that get assigned to users and machines π
- the "max group id" counter β this is for the AFS group IDs (AFS GIDs) that get assigned to groups β¨
and if you wanna see what those counters are currently set to? run the pts listmax command, she'll show you both. no guessing, no vibes-based math, just look at them. π
β¨ OPTIONS β¨
-group <group max>β sets the "max group id" counter. if the value is negative, you gotta put a hyphen in front of it to signal that, okay? π©· so here's the tea: when an administrator next runs thepts creategroupcommand to make a group entry and doesn't include that command's-idargument, the Protection Server gives that group an AFS GID that's one less (more negative) than this value. yes, less. direction matters bestie, do not mix them up π-user <user max>β sets the "max user id" counter. and when an administrator next runs thepts createusercommand to create a user or machine entry and doesn't include that command's-idargument, the Protection Server assigns the group an AFS UID one greater than this value. (fr fr, the original really does say "assigns the group an AFS UID" right here β I'm just carrying her words across the finish line πβοΈπ¨)-authβ uses the calling user's tokens to talk to the Protection Server. want the whole lore? seepts(1). π-cell <cell name>β names the cell where the command should run. more details live inpts(1). πΊοΈ-config <config directory>β use an alternate config directory. again,pts(1)has the full story. π-encryptβ encrypts any communication with the Protection Server. details?pts(1). the girl is secure. π-forceβ lets the command keep going as far as it possibly can when errors or other problems pop up, instead of just halting at the very first error. she's resilient like that πͺ-helpβ prints the online help for this command. and heads up: all other valid options are ignored when you use this one. she does not multitask π-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. β οΈ do NOT combine this flag with the-cellor-noauthoptions. like, genuinely, don't. for more details, seepts(1).-noauthβ assigns the unprivileged identityanonymousto the issuer. more details inpts(1). π»
π EXAMPLES
so the following command sets the "max group id" counter to -500 and the "max user id" counter to 1000. watch her work:
% pts setmax -group -500 -user 1000
slay. ate. no crumbs. π
π PRIVILEGE REQUIRED
the issuer must belong to the system:administrators group. that's the rule, bestie, I don't make them π
π SEE ALSO
pts(1), pts_creategroup(1), pts_createuser(1), pts_listmax(1)
the whole friend group, all linked up π«Ά
π§ COPYRIGHT
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.
okay that's the whole page, bestie!! π this little beauty is from OpenAFS, dated 2026-07-27 β go forth and set those counters, you absolute main character ππ mwah, bye!! πΈβ¨
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms