[OpenAFS-Doc] documentation patches

Jason Edgecombe jason@rampaginggeek.com
Tue, 07 Aug 2007 20:50:23 -0400


This is a multi-part message in MIME format.
--------------060209020509070602020103
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Russ Allbery wrote:
> "Steven Jenkins" <steven.jenkins@gmail.com> writes:
>
>   
>> [editor's note: Translation: "is the TODO list up-to-date?']
>>     
>
> Yup, it should be!  :)
>
>   
Not any more ;) (but I included a patch for README)

pod1/pts_interactive.pod man page, diff for pts.pod and README


Jason

--------------060209020509070602020103
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diff.txt"

? doc/man-pages/readpod
? doc/man-pages/pod1/pts_interactive.pod
Index: doc/man-pages/README
===================================================================
RCS file: /cvs/openafs/doc/man-pages/README,v
retrieving revision 1.14
diff -u -r1.14 README
--- doc/man-pages/README	5 Aug 2007 21:58:35 -0000	1.14
+++ doc/man-pages/README	8 Aug 2007 00:44:08 -0000
@@ -201,7 +201,6 @@
        fs rxstatproc
        fs setcbaddr
        kseal
-       pts interactive
        pts quit
        pts sleep
        pts source
Index: doc/man-pages/pod1/pts.pod
===================================================================
RCS file: /cvs/openafs/doc/man-pages/pod1/pts.pod,v
retrieving revision 1.2
diff -u -r1.2 pts.pod
--- doc/man-pages/pod1/pts.pod	9 Dec 2005 13:26:31 -0000	1.2
+++ doc/man-pages/pod1/pts.pod	8 Aug 2007 00:44:08 -0000
@@ -52,6 +52,15 @@
 
 =item *
 
+Commands to run commands interactively: B<pts interactive>, B<pts
+sleep>, and B<pts quit>
+
+=item *
+
+A command to read bulk commands form a file: B<pts source>
+
+=item *
+
 Commands to obtain help: B<pts apropos> and B<pts help>.
 
 =back
@@ -136,14 +145,17 @@
 L<pts_delete(1)>,
 L<pts_examine(1)>,
 L<pts_help(1)>,
+L<pts_interactive(1)>,
 L<pts_listentries(1)>,
 L<pts_listmax(1)>,
 L<pts_listowned(1)>,
 L<pts_membership(1)>,
+L<pts_quit(1)>,
 L<pts_removeuser(1)>,
 L<pts_rename(1)>,
 L<pts_setfields(1)>,
-L<pts_setmax(1)>
+L<pts_setmax(1)>,
+L<pts_sleep(1)>
 
 =head1 COPYRIGHT
 

--------------060209020509070602020103
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="pts_interactive.pod"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pts_interactive.pod"

=head1 NAME

pts interactive - Enters interactive mode

=head1 SYNOPSIS

=for html
<div class="synopsis">

B<pts interactive> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>]
   [B<-force>]

B<pts in> S<<< [B<-cell>] <I<cell name>> >>> [B<-noauth>] [B<-force>]

=for html
</div>

=head1 DESCRIPTION

The B<pts interactive> command allows the user to enter an interactive
mode which is useful for running bulk commands like creating new users
or groups.

=head1 CAUTIONS

The B<pts_interactive> command is only available if OpenAFS was
compiled with the supergroups option, which is disabled by default.

Running bulk B<pts> commands may degrade the performance of the pts
server while they are run. In addition, server resource may not be
released immediately after commands are run. Because of this, the
L<pts sleep> command can be used in interactive mode to give the
B<ptserver> a change to catch up.

=head1 OPTIONS

B<pts interactive> only takes the standard B<pts> options.

=over 4

=item B<-cell> <I<cell name>>

Specifies an alternate cell to talk to.

=item B<-noauth>

Perform the action as the unauthenticated user instead of using the
current users credentials.

=item B<-force>

Continue the operation even if there are errors. This is useful for
bulk operations where you would like to continue even if one of the
many operations fails.

=back

=head1 OUTPUT

The output is the same as if each individual command were run from the
command line.

=head1 EXAMPLES

Here is an example of a B<pts interactive> session:

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


=head1 PRIVILEGE REQUIRED

The same privilege is required to run the command in interactive mode
as is required to run the command by itself on the command line. Some
commands such as B<pts createuser> require AFS administrator
privileges, while others do not.

=head1 SEE ALSO

L<pts(1)>
L<pts_sleep(1)>
L<pts_quit(1)>

=head1 COPYRIGHT

Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>

This documentation is covered by the IBM Public License Version 1.0. This
man page was written by Jason Edgecombe for OpenAFS.

--------------060209020509070602020103--