2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
pts_setfields - Sets privacy flags or quota for a Protection Database entry
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<pts setfields> S<<< B<-nameorid> <I<user or group name or id>>+ >>>
|
|
|
|
S<<< [B<-access> <I<set privacy flags>>] >>>
|
|
|
|
S<<< [B<-groupquota> <I<set limit on group creation>>] >>>
|
2008-02-04 19:41:49 +00:00
|
|
|
S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
|
2013-06-13 00:22:27 +01:00
|
|
|
[B<-force>] [B<-help>] [B<-auth>] [B<-encrypt>]
|
|
|
|
S<<< [B<-config> <I<config directory>>] >>>
|
2006-03-01 05:02:29 +00:00
|
|
|
|
|
|
|
B<pts setf> S<<< B<-na> <I<user or group name or id>>+ >>>
|
2013-06-13 00:22:27 +01:00
|
|
|
S<<< [B<-ac> <I<set privacy flags>>] >>>
|
2006-03-01 05:02:29 +00:00
|
|
|
S<<< [B<-g> <I<set limit on group creation>>] >>> S<<< [B<-c> <I<cell name>>] >>>
|
2013-06-13 00:22:27 +01:00
|
|
|
[B<-no>] [B<-l>] [B<-f>] [B<-h>] [B<-au>] [B<-e>]
|
|
|
|
S<<< [B<-co> <I<config directory>>] >>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The B<pts setfields> command sets the group-creation quota, the privacy
|
|
|
|
flags, or both, associated with each user, machine, or group entry
|
2005-12-08 12:14:33 +00:00
|
|
|
specified by the B<-nameorid> argument.
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
To examine the current quota and privacy flags, use the B<pts examine>
|
|
|
|
command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Changing a machine or group's group-creation quota is allowed, but not
|
2005-12-09 14:48:56 +00:00
|
|
|
recommended. The concept is meaningless for machines and groups, because
|
|
|
|
it is impossible to authenticate as a group or machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Similarly, some privacy flag settings do not have a sensible
|
2011-06-10 02:14:05 +01:00
|
|
|
interpretation. L</OPTIONS> specifies the appropriate settings.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-nameorid> <I<user or group name or id>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the name or AFS UID of each user, the IP address (complete or
|
2005-12-09 14:48:56 +00:00
|
|
|
wildcard-style) of each machine, or the name or AFS GID of each machine
|
|
|
|
for which to set privacy flags or group-creation quota. It is acceptable
|
|
|
|
to mix users, machines, and groups on the same command line, as well as
|
|
|
|
names (IP addresses for machines) and IDs. Precede the GID of each group
|
|
|
|
with a hyphen to indicate that it is negative.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-access> <I<privacy flags>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Specifies the privacy flags to apply to each entry. Provide a string of
|
|
|
|
five characters, one for each of the permissions. If this option is
|
|
|
|
omitted, the current setting remains unchanged.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set each flag to achieve the desired combination of permissions. If the
|
|
|
|
following list does not mention a certain setting, it is not
|
|
|
|
acceptable. For further discussion of the privacy flags, see
|
|
|
|
L<pts_examine(1)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The first flag determines who can use the B<pts examine> command to
|
|
|
|
display information from a user, machine or group's Protection Database
|
|
|
|
entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to lowercase C<s> to permit the members of the
|
|
|
|
system:administrators group to display a user, machine, or group entry,
|
2009-08-20 00:07:27 +01:00
|
|
|
the associated user to display a user entry, and the owner or members of a
|
|
|
|
group to display the group entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to uppercase C<S> to permit anyone who can access the cell's
|
|
|
|
database server machines to display a user, machine, or group entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The second flag determines who can use the B<pts listowned> command to
|
|
|
|
list the groups that a user or group owns.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to the hyphen (C<->) to permit the members of the
|
|
|
|
system:administrators group and a user to list the groups he or she owns,
|
|
|
|
or to permit the members of the system:administrators group and a group's
|
|
|
|
owner to list the groups that a group owns.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to uppercase letter C<O> to permit anyone who can access the cell's
|
|
|
|
database server machines to list the groups owned by a machine or group
|
|
|
|
entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The third flag determines who can use the B<pts membership> command to
|
|
|
|
list the groups to which a user or machine belongs, or the users and
|
|
|
|
machines that belong to a group.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to the hyphen (C<->) to permit the members of the
|
|
|
|
system:administrators group and a user to list the groups he or she
|
|
|
|
belongs to, to permit the members of the B<system:administrators> group to
|
|
|
|
list the groups a machine belongs to, or to permit the members of the
|
|
|
|
system:administrators group and a group's owner to list the users and
|
|
|
|
machines that belong to it.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to lowercase C<m> to permit members of a group to list the other
|
|
|
|
members. (For user and machine entries, this setting is equivalent to the
|
|
|
|
hyphen.)
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to uppercase C<M> to permit anyone who can access the cell's
|
|
|
|
database server machines to list membership information for a user,
|
|
|
|
machine or group.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The fourth flag determines who can use the B<pts adduser> command to add
|
|
|
|
users and machines as members of a group. This flag has no sensible
|
|
|
|
interpretation for user and machine entries, but must be set nonetheless,
|
|
|
|
preferably to the hyphen.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to the hyphen (C<->) to permit the members of the
|
|
|
|
system:administrators group and the owner of the group to add members.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to lowercase C<a> to permit members of a group to add other
|
2005-12-08 12:14:33 +00:00
|
|
|
members.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to uppercase C<A> to permit anyone who can access the cell's
|
|
|
|
database server machines to add members to a group.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The fifth flag determines who can use the B<pts removeuser> command to
|
|
|
|
remove users and machines from membership in a group. This flag has no
|
|
|
|
sensible interpretation for user and machine entries, but must be set
|
|
|
|
nonetheless, preferably to the hyphen.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to the hyphen (C<->) to permit the members of the
|
|
|
|
system:administrators group and the owner of the group to remove members.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Set it to lowercase C<r> to permit members of a group to remove other
|
|
|
|
members.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-groupquota> <I<group creation quota>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the number of additional groups a user can create (it does not
|
|
|
|
matter how many he or she has created already). Do not include this
|
|
|
|
argument for a group or machine entry.
|
|
|
|
|
2010-07-16 01:21:26 +01:00
|
|
|
=include fragments/pts-common.pod
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The following example changes the privacy flags on the group C<operators>,
|
|
|
|
retaining the default values of the first, second and third flags, but
|
|
|
|
setting the fourth and fifth flags to enable the group's members to add
|
|
|
|
and remove other members.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% pts setfields -nameorid operators -access S-Mar
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The following example changes the privacy flags and sets group quota on
|
|
|
|
the user entry C<admin>. It retains the default values of the first,
|
|
|
|
fourth, and fifth flags, but sets the second and third flags, to enable
|
|
|
|
anyone to list the groups that C<admin> owns and belongs to. Users
|
|
|
|
authenticated as C<admin> can create an additional 50 groups.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% pts setfields -nameorid admin -access SOM-- -groupquota 50
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
To edit group entries or set the privacy flags on any type of entry, the
|
2005-12-09 14:48:56 +00:00
|
|
|
issuer must own the entry or belong to the system:administrators group. To
|
|
|
|
set group-creation quota on a user entry, the issuer must belong to the
|
|
|
|
system:administrators group.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<pts(1)>,
|
|
|
|
L<pts_adduser(1)>,
|
|
|
|
L<pts_examine(1)>,
|
|
|
|
L<pts_listowned(1)>,
|
|
|
|
L<pts_membership(1)>,
|
|
|
|
L<pts_removeuser(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.
|