]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added note on Default requiretty for CentOS and others.
authorJohn Wilkins <john.wilkins@inktank.com>
Mon, 12 May 2014 18:33:57 +0000 (11:33 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Mon, 12 May 2014 18:33:57 +0000 (11:33 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/start/quick-ceph-deploy.rst

index f2ad9ceddcbeccced56cfdb7777c96964b56490e..8bbb0cae8d18ac19d5704539ba3716d9b3749720 100644 (file)
@@ -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
 ================