summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2012-10-01 13:32:08 -0700
committerJosh Durgin <josh.durgin@inktank.com>2012-10-02 15:43:38 -0700
commit9362f726aa78174b79df7a870d953da9ca0cddf1 (patch)
tree080dbf30afef8382e682d2f189efd02a77fa7f02 /man
parent2e366ea8aad071f6ca32a3f888591d9ee7f6b7ec (diff)
downloadceph-9362f726aa78174b79df7a870d953da9ca0cddf1.tar.gz
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