From 6e4455d6afd907617263e78f3416967a5554bb79 Mon Sep 17 00:00:00 2001 From: John Wilkins Date: Mon, 12 May 2014 11:33:57 -0700 Subject: [PATCH] doc: Added note on Default requiretty for CentOS and others. Signed-off-by: John Wilkins --- doc/start/quick-ceph-deploy.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/start/quick-ceph-deploy.rst b/doc/start/quick-ceph-deploy.rst index f2ad9ceddcbec..8bbb0cae8d18a 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 ================ -- 2.39.5