3 pts_removeuser - Removes a user from a Protection Database group
10 B<pts removeuser> S<<< B<-user> <I<user name>>+ >>> S<<< B<-group> <I<group name>>+ >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-force>]
14 B<pts rem> S<<< B<-u> <I<user name>>+ >>> S<<< B<-g> <I<group name>>+ >>>
15 S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-f>] [B<-h>]
22 The B<pts removeuser> command removes each user or machine named by the
23 B<-user> argument from each group named by the B<-group> argument.
25 To add users to a group, use the B<pts adduser> command. To list group
26 membership, use the B<pts membership> command. To remove users from a
27 group and delete the group's entry completely in a single step, use the
28 B<pts delete> command.
32 AFS compiles each user's group membership as he or she authenticates. Any
33 users who have valid tokens when they are removed from a group retain the
34 privileges extended to that group's members until they discard their
35 tokens or reauthenticate.
41 =item B<-name> <I<user name>>+
43 Specifies the name of each user entry or the IP address (complete or
44 wildcard-style) of each machine entry to remove.
46 =item B<-group> <I<group name>>+
48 Names each group from which to remove members.
50 =include fragments/pts-common.pod
56 The following example removes user smith from the groups C<staff> and
57 C<staff:finance>. Note that no switch names are necessary because only a
58 single instance is provided for the first argument (the username).
60 % pts removeuser smith staff staff:finance
62 The following example removes three machine entries, which represent all
63 machines in the Example Corporation network, from the group C<bin-prot>:
65 % pts removeuser -user 138.255.0.0 192.12.105.0 192.12.106.0 -group bin-prot
67 =head1 PRIVILEGE REQUIRED
69 The required privilege depends on the setting of the fifth privacy flag in
70 the Protection Database for the group named by the B<-group> argument (use
71 the B<pts examine> command to display the flags):
77 If it is the hyphen, only the group's owner and members of the
78 system:administrators group can remove members.
82 If it is lowercase C<r>, members of the group can also remove other
87 (It is not possible to set the fifth flag to uppercase C<R>.)
99 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
101 This documentation is covered by the IBM Public License Version 1.0. It was
102 converted from HTML to POD by software written by Chas Williams and Russ
103 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.