mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
f69bf0b194
- Mention the -help, -auth, -encrypt, and -config options for all pts commands in their synopsis - Add the -auth option to the pts.pod page - Reference the -auth, -encrypt, and -config options from all subcommand pts pages - pts_removeuser: Replace -name with -user - pts_sleep: Add missing -delay - pts_source: Add missing -file Change-Id: I4f0889d661c46f6bdd2a9604d8423d809a632d2d Reviewed-on: http://gerrit.openafs.org/10387 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
80 lines
2.3 KiB
Plaintext
80 lines
2.3 KiB
Plaintext
=head1 NAME
|
|
|
|
pts_setmax - Sets the value of the max group id or max user id counter
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
=for html
|
|
<div class="synopsis">
|
|
|
|
B<pts setmax> S<<< [B<-group> <I<group max>>] >>> S<<< [B<-user> <I<user max>>] >>>
|
|
S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-force>] [B<-help>]
|
|
[B<-auth>] [B<-encrypt>] S<<< [B<-config> <I<config directory>>] >>>
|
|
|
|
B<pts setm> [B<-g> I<group max>>] S<<< [B<-u> <I<user max>>] >>>
|
|
S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-f>] [B<-h>]
|
|
[B<-a>] [B<-e>] S<<< [B<-co> <I<config directory>>] >>>
|
|
|
|
=for html
|
|
</div>
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The B<pts setmax> command sets the value of one or both counters that
|
|
track the IDs the Protection Server allocates to new users, machines, or
|
|
groups: the C<max user id> counter for the AFS user IDs (AFS UIDs)
|
|
assigned to users and machines, and the C<max group id> counter for the
|
|
AFS group IDs (AFS GIDs) assigned to groups.
|
|
|
|
Use the B<pts listmax> command to display the current value of both
|
|
counters.
|
|
|
|
=head1 OPTIONS
|
|
|
|
=over 4
|
|
|
|
=item B<-group> <I<group max>>
|
|
|
|
Sets the C<max group id> counter. Precede the value with a hyphen to
|
|
indicate that it is negative. When an administrator next uses the B<pts
|
|
creategroup> command to create a group entry and does not include that
|
|
command's B<-id> argument, the Protection Server assigns the group an AFS
|
|
GID one less (more negative) than this value.
|
|
|
|
=item B<-user> <I<user max>>
|
|
|
|
Sets the C<max user id> counter. When an administrator next uses the B<pts
|
|
createuser> command to create a user or machine entry and does not include
|
|
that command's B<-id> argument, the Protection Server assigns the group an
|
|
AFS UID one greater than this value.
|
|
|
|
=include fragments/pts-common.pod
|
|
|
|
=back
|
|
|
|
=head1 EXAMPLES
|
|
|
|
The following command sets the C<max group id> counter to -500 and the
|
|
C<max user id> counter to 1000.
|
|
|
|
% pts setmax -group -500 -user 1000
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
The issuer must belong to the system:administrators group.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<pts(1)>,
|
|
L<pts_creategroup(1)>,
|
|
L<pts_createuser(1)>,
|
|
L<pts_listmax(1)>
|
|
|
|
=head1 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.
|