From: Josh Durgin Date: Mon, 1 Oct 2012 20:32:08 +0000 (-0700) Subject: doc: add rbd example to ceph-authtool man page X-Git-Tag: v0.54~87^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9362f726aa78174b79df7a870d953da9ca0cddf1;p=ceph.git doc: add rbd example to ceph-authtool man page Signed-off-by: Josh Durgin --- diff --git a/doc/man/8/ceph-authtool.rst b/doc/man/8/ceph-authtool.rst index ed55fb3cd89c..d120a27ac750 100644 --- a/doc/man/8/ceph-authtool.rst +++ b/doc/man/8/ceph-authtool.rst @@ -89,6 +89,12 @@ A librados user restricted to a single pool might look like:: osd = "allow rw pool foo" +A client using rbd with read access to one pool and read/write access to another:: + + mon = "allow r" + + osd = "allow pool templates r class-read, allow pool vms rwx" + A client mounting the file system with minimal permissions would need caps like:: mds = "allow" diff --git a/man/ceph-authtool.8 b/man/ceph-authtool.8 index 9509b5f0ae27..36793fcdf5e1 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