From 34d9b2bc659c4107b30e1ebe7a55315512a0222a Mon Sep 17 00:00:00 2001 From: John Wilkins Date: Thu, 5 Jun 2014 11:29:20 -0700 Subject: [PATCH] doc: Added Disable requiretty commentary. Signed-off-by: John Wilkins --- doc/start/quick-ceph-deploy.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/start/quick-ceph-deploy.rst b/doc/start/quick-ceph-deploy.rst index 74635aede2786..0328883d8eb74 100644 --- a/doc/start/quick-ceph-deploy.rst +++ b/doc/start/quick-ceph-deploy.rst @@ -44,6 +44,17 @@ by adding a third Ceph OSD Daemon, a Metadata Server and two more Ceph Monitors. 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 ================ -- 2.39.5