summaryrefslogtreecommitdiffstats
path: root/utils/nfsidmap/nfsidmap.man
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2011-11-17 14:39:43 -0500
committerSteve Dickson <steved@redhat.com>2011-12-05 09:43:12 -0500
commit24d0b823f10f9cae2eba9b22fb830dd8dc3fb15a (patch)
tree47cc0c426ff71df5c23fa349d31f20f6e514168b /utils/nfsidmap/nfsidmap.man
parent69aa69e7de80b6cdf2ea0212a2f3df20fc8d3853 (diff)
downloadnfs-utils-24d0b823f10f9cae2eba9b22fb830dd8dc3fb15a.tar.gz
nfs-utils-24d0b823f10f9cae2eba9b22fb830dd8dc3fb15a.tar.xz
nfs-utils-24d0b823f10f9cae2eba9b22fb830dd8dc3fb15a.zip
nfsidmap: Allow a particular key to be revoked.
Introducing three new command line arguments that allow particular keys to be revoke -u will remove a uid key -g will revoke a gid key -r will revoke both the uid and gid keys A user name has also needs to be supply with these new flags. Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/nfsidmap/nfsidmap.man')
-rw-r--r--utils/nfsidmap/nfsidmap.man19
1 files changed, 16 insertions, 3 deletions
diff --git a/utils/nfsidmap/nfsidmap.man b/utils/nfsidmap/nfsidmap.man
index 9badb3f..3a3a523 100644
--- a/utils/nfsidmap/nfsidmap.man
+++ b/utils/nfsidmap/nfsidmap.man
@@ -9,6 +9,8 @@ nfsidmap \- The NFS idmapper upcall program
.B "nfsidmap [-v] [-t timeout] key desc"
.br
.B "nfsidmap [-v] [-c]"
+.br
+.B "nfsidmap [-v] [-u|-g|-r user]"
.SH DESCRIPTION
The file
.I /usr/sbin/nfsidmap
@@ -20,18 +22,29 @@ is called by /sbin/request-key, and will perform the translation and
initialize a key with the resulting information.
.PP
.I nfsidmap
-can also used to clear the keyring of all the keys.
-This is useful when all the mappings have failed to due to an DNS outage
-or some other error resulting in all the cached uid/gid to be invalid.
+can also used to clear the keyring of all the keys or
+revoke one particular key.
+This is useful when the id mappings have failed to due
+to a lookup error resulting in all the cached uids/gids to be set
+to the user id nobody.
.SH OPTIONS
.TP
.B -c
Clear the keyring of all the keys.
.TP
+.B -g user
+Revoke the gid key of the given user.
+.TP
+.B -r user
+Revoke both the uid and gid key of the given user.
+.TP
.B -t timeout
Set the expiration timer, in seconds, on the key.
The default is 600 seconds (10 mins).
.TP
+.B -u user
+Revoke the uid key of the given user.
+.TP
.B -v
Increases the verbosity of the output to syslog
(can be specified multiple times).