From: John Wilkins Date: Mon, 12 May 2014 18:33:57 +0000 (-0700) Subject: doc: Added note on Default requiretty for CentOS and others. X-Git-Tag: v0.81~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6e4455d6afd907617263e78f3416967a5554bb79;p=ceph.git doc: Added note on Default requiretty for CentOS and others. Signed-off-by: John Wilkins --- diff --git a/doc/start/quick-ceph-deploy.rst b/doc/start/quick-ceph-deploy.rst index f2ad9ceddcbe..8bbb0cae8d18 100644 --- a/doc/start/quick-ceph-deploy.rst +++ b/doc/start/quick-ceph-deploy.rst @@ -16,6 +16,15 @@ by adding a third Ceph OSD Daemon, a Metadata Server and two more Ceph Monitors. .. important:: Do not call ``ceph-deploy`` with ``sudo`` or run it as ``root`` if you are logged in as a different user, because it will not issue ``sudo`` commands needed on the remote host. + +.. topic:: Disable ``requiretty`` + + On some distributions (e.g., CentOS), you may receive an error while trying + to execute ``ceph-deploy`` commands. If ``requiretty`` is set + by default, disable it by executing ``sudo visudo`` and locate the + ``Default requiretty`` setting. Change it to ``Default:ceph !requiretty`` to + ensure that ``ceph-deploy`` can connect using the ``ceph`` user and execute + commands with ``sudo``. Create a Cluster ================