From: Wido den Hollander Date: Mon, 23 Sep 2013 11:51:26 +0000 (+0200) Subject: doc: When bootstrapping mon set the correct caps for client.admin X-Git-Tag: v0.71~105 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=991139bc0de1147171a08c21cfffd0dc57cd2b81;p=ceph.git doc: When bootstrapping mon set the correct caps for client.admin Otherwise client.admin will be privilege-less and the admin can't access the cluster. --- diff --git a/doc/dev/mon-bootstrap.rst b/doc/dev/mon-bootstrap.rst index 9ce0070b791c..0a4a9a2981e8 100644 --- a/doc/dev/mon-bootstrap.rst +++ b/doc/dev/mon-bootstrap.rst @@ -42,7 +42,7 @@ with a command like:: When creating a new monitor cluster, the keyring should also contain a ``client.admin`` key that can be used to administer the system:: - ceph-authtool /path/to/keyring --gen-key -n client.admin + ceph-authtool /path/to/keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' The resulting keyring is fed to ``ceph-mon --mkfs`` with the ``--keyring `` command-line argument.