backport to buster
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / fs_nukenfscreds.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3fs_nukenfscreds - Discard NFS translator tokens
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<fs nukenfscreds> S<<< B<-addr> <I<host>> >>>
11 [B<-help>]
12
13B<fs nu> S<<< B<-a> <I<host>> >>>
14 [B<-h>]
15
16=for html
17</div>
18
19=head1 DESCRIPTION
20
21When using the NFS translator, it is possible for clients to supply AFS tokens
22that the NFS translator will use for NFS-originating accesses from a specific
23host and uid. The B<fs nukenfscreds> command, when run on the translator host,
24will destroy all tokens for all uids for a specific NFS client host. After this
25command is run successfully, all accesses for all users from that host will be
26unauthenticated until they provide AFS tokens again.
27
28This command can be useful in the following scenario. Say you have an NFS
29client machine accessing a translator, and the machine is decommissioned, and a
30new machine is brought up with the same IP. If there are credentials associated
31with certain uids from that host, it is possible that accesses from the new
32host will use the same credentials from the old host, even if they haven't
33authenticated. With the B<fs_nukenfscreds> command, you can destroy all
34credentials associated with the machine when it is decommissioned, ensuring
35that that situation cannot occur.
36
37=head1 OPTIONS
38
39=over 4
40
41=item B<-addr> <I<host>>
42
43Specifies which host to invalidate tokens for. Specify either a resolvable host
44name or an IP address.
45
46=item B<-help>
47
48Prints the online help for this command. All other valid options are
49ignored.
50
51=back
52
53=head1 OUTPUT
54
55If the specified tokens were destroyed successfully, no output is generated.
56
57=head1 EXAMPLES
58
59The following example destroys credentials from all PAGs for the NFS translator
60client host 198.51.100.20:
61
62 % fs nukenfscreds -addr 198.51.100.20
63
64=head1 PRIVILEGE REQUIRED
65
66The issuer must be logged in as the local superuser C<root>.
67
68=head1 SEE ALSO
69
70L<fs_exportafs(1)>,
71L<klog(1)>,
72L<knfs(1)>
73
74=head1 COPYRIGHT
75
76Copyright 2013 Sine Nomine Associates
77
78This documentation is covered by the BSD License as written in the
79doc/LICENSE file. This man page was written by Andrew Deason for
80OpenAFS.