summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-10-01 22:32:08 +0200
committerJosh Durgin <josh.durgin@inktank.com>2012-10-03 00:43:38 +0200
commit9362f726aa78174b79df7a870d953da9ca0cddf1 (patch)
tree080dbf30afef8382e682d2f189efd02a77fa7f02 /man
parentOSD: deprecate CLS_METHOD_PUBLIC flag (diff)
downloadceph-9362f726aa78174b79df7a870d953da9ca0cddf1.tar.xz
ceph-9362f726aa78174b79df7a870d953da9ca0cddf1.zip
doc: add rbd example to ceph-authtool man page
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'man')
-rw-r--r--man/ceph-authtool.810
1 files changed, 10 insertions, 0 deletions
diff --git a/man/ceph-authtool.8 b/man/ceph-authtool.8
index 9509b5f0ae2..36793fcdf5e 100644
--- a/man/ceph-authtool.8
+++ b/man/ceph-authtool.8
@@ -123,6 +123,16 @@ osd = "allow rw pool foo"
.ft P
.fi
.sp
+A client using rbd with read access to one pool and read/write access to another:
+.sp
+.nf
+.ft C
+mon = "allow r"
+
+osd = "allow pool templates r class\-read, allow pool vms rwx"
+.ft P
+.fi
+.sp
A client mounting the file system with minimal permissions would need caps like:
.sp
.nf