PTS_INTERACTIVE(1)
β¨ PTS_INTERACTIVE β¨
okay bestie, this is a page from the AFS Command Reference β it's pts_interactive, manual section 1, and it's about the lil' gateway into interactive mode π
πΈ NAME πΈ
pts_interactive β Enters interactive mode
π SYNOPSIS π
pts interactive [-cell] <cell name> [-noauth]
[-auth] [-localauth] [-force] [-help]
[-encrypt] [-config <config directory>]
pts in [-c] <cell name> [-n] [-f] [-h]
[-a] [-e] [-co <config directory>]
π¦ DESCRIPTION π¦
So pts interactive is literally the door into an interactive mode, and it's giving bulk-command main character energy β like when you gotta create a whole bunch of new users or groups and you do NOT wanna type the whole command fifty times π
Here's the vibe: pts interactive takes the authentication state you handed it on its own command line, and uses that for all the bulk commands. But!! if one of your bulk commands comes with authentication options of its own β like -cell, -localauth, -auth or -noauth β then that command, and every bulk command after it, runs with those options instead. noted. periodt. β¨
π CAUTIONS π
Real talk, bestie, read this part.
Back before OpenAFS 1.4.5 and OpenAFS 1.5.23, pts interactive was only a thing on Unix or Linux, and only when OpenAFS was compiled with the supergroups option (which, btw, is disabled by default). But as of OpenAFS 1.4.5 and 1.5.23, it's always available. slay.
Also β and this is the important one β running bulk pts commands may degrade the performance of the Protection Server while they're running, and the server resources may not be released immediately after the commands are run. π That's why there's the pts sleep command: you can use it in interactive mode or with pts source to give the Protection Server a hot second to catch up. be nice to your server. π«Ά
π OPTIONS π
pts interactive only takes the standard pts options. that's it, that's the menu π
-authβ Uses the calling user's tokens to talk to the Protection Server. For more details, go seepts(1).-cell<cell name>β Names the cell where the command should run. For more details, seepts(1).-config<config directory>β Uses an alternate config directory. For more details, seepts(1).-encryptβ Encrypts any communication with the Protection Server. For more details, seepts(1).-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. πͺ-helpβ Prints the online help for this command. Every other valid option gets ignored when you use this one.-localauthβ Constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. Do not combine this flag with the-cellor-noauthoptions, bestie, I'm begging π For more details, seepts(1).-noauthβ Assigns the unprivileged identityanonymousto the issuer. For more details, seepts(1).
π OUTPUT π
The output is the same as if each individual command were run straight from the command line. no notes. β¨
π EXAMPLES π
Here's what a pts interactive session looks like, bestie:
% pts interactive
pts> examine admin
Name: admin, id: 1, owner: system:administrators, creator: anonymous,
membership: 2, flags: S----, group quota: 20.
pts> help
pts: Commands are:
adduser add a user to a group
apropos search by help text
chown change ownership of a group
creategroup create a new group
createuser create a new user
delete delete a user or group from database
examine examine an entry
help get help on commands
interactive enter interactive mode
listentries list users/groups in the protection database
listmax list max id
listowned list groups owned by an entry or zero id gets orphaned groups
membership list membership of a user or group
quit exit program
removeuser remove a user from a group
rename rename user or group
setfields set fields for an entry
setmax set max id
sleep pause for a bit
source read commands from file
pts> quit
%
π§ PRIVILEGE REQUIRED π§
The same privilege you need to run the command in interactive mode is the same privilege you need to run it by itself on the command line. Some commands β like pts createuser, for example β require that the user belong to the system:administrators group, while others just don't. iykyk π
β SEE ALSO β
pts(1), pts_quit(1), pts_sleep(1), pts_source(1), ptserver(8)
π COPYRIGHT π
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.
and that's the whole page, bestie π thanks for reading the whole thing, you ate. this was OpenAFS, dated 2026-07-27 β go forth and bulk-create your users responsibly π β¨
π¦ 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