PTS_DELETE(1)
π PTS_DELETE(1) β the AFS Command Reference, but make it cute π
okay bestie, sit down, hydrate, and let me tell you about pts_delete β¨ (that's from the AFS Command Reference, iykyk)
πΈ NAME πΈ
pts_delete β deletes a Protection Database entry. that's it. that's the vibe. she's a deleter π
β¨ SYNOPSIS β¨
pts delete -nameorid <user or group name or id>+
[-cell <cell name>] [-noauth] [-localauth]
[-force] [-help] [-auth] [-encrypt]
[-config <config directory>]
pts d -na <user or group name or id>+
[-c <cell name>] [-no] [-l] [-f] [-h]
[-a] [-e] [-co <config directory>]
like yes she has two whole forms, and yes the short one is giving speedrun energy πβοΈπ¨
π«Ά DESCRIPTION π«Ά
so pts delete takes every single entry you name with the -nameorid argument and removes it from the Protection Database. gone. deleted. no take-backs π
but bestie, deleting entries ripples through the rest of the system in so many ways, and we're gonna talk about all of them:
- Deleted users and groups still show up on access control lists (ACLs), except now they're listed by AFS UID or GID instead of by name β because there's literally no name left to translate the ID into π. wanna scrub those obsolete entries off your ACLs? that's
fs cleanacl's job, not hers. - Deleting a user or machine's entry also yanks it out of the membership list of every group it belonged to. she's thorough like that π
- Deleting a group entry removes it from the membership list of any user or machine entry that belonged to that group, and it bumps the group-creation quota of the group's creator up by one β even if the creator doesn't own the group anymore. iconic behavior honestly π
quick heads up: if you just wanna remove a user or machine from a group without actually deleting the entry, go use pts removeuser instead. don't do a big dramatic delete when a small one will do π
π OPTIONS π
-nameorid <user or group name or ID>+β tells her exactly what to delete: 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 entry. you can absolutely mix users, machines, and groups on the same command line, and you can mix names (IP addresses for machines) with IDs too. one rule tho: for each group, put a hyphen before its GID to show that it's negative, okay? π-authβ uses the calling user's tokens to talk to the Protection Server. want the full lore? seepts(1)β¨-cell <cell name>β names the cell where the command runs. more details?pts(1), alwayspts(1)π-config <config directory>β use an alternate config directory. and yes,pts(1)has the deets π¦-encryptβ encrypts any communication with the Protection Server.pts(1)explains more, bestie π-forceβ lets the command keep going as far as it possibly can when errors or other problems pop up, instead of slamming the brakes at the very first error. she's resilient πͺ-helpβ prints the online help for this command. and listen: all other valid options are ignored when you use it. she said help means help π-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. β οΈ do not combine this flag with the-cellor-noauthoptions, seriously. more info inpts(1)π§-noauthβ assigns the unprivileged identityanonymousto the issuer. details, as ever, inpts(1)πΈ
β EXAMPLES β
this one deletes the user entries "pat" and "terry":
% pts delete pat terry
and this one deletes the Protection Database entry of the group with AFS GID -215:
% pts delete -215
see how the negative GID just needs that little hyphen? she understood the assignment π
π PRIVILEGE REQUIRED π
to delete user and machine entries, the issuer must belong to the system:administrators group. no shortcuts, no cap π«
to delete group entries, the issuer must either own the group or belong to system:administrators. pick your lane, both are valid π
π SEE ALSO π
fs_cleanacl(1), pts(1), pts_removeuser(1)
π 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, and also this gorgeousness came to you courtesy of OpenAFS, dated 2026-07-27 β mwah, stan forever, bye bestie πβ¨π¦
π¦ 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