]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added Disable requiretty commentary. 1923/head
authorJohn Wilkins <john.wilkins@inktank.com>
Thu, 5 Jun 2014 18:29:20 +0000 (11:29 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Thu, 5 Jun 2014 18:29:20 +0000 (11:29 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/start/quick-ceph-deploy.rst

index 74635aede2786c78bb65f8160c40eb96d5e113c3..0328883d8eb74fd853ece9104f866aca55d20aa5 100644 (file)
@@ -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
 ================