From: Wido den Hollander Date: Fri, 4 Jul 2014 12:28:03 +0000 (+0200) Subject: doc: Fix a typo regarding requiretty for RHEL based platforms X-Git-Tag: v0.84~147 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c7937ff38c9e0b9f7d98b454f9575753cf34fb1c;p=ceph.git doc: Fix a typo regarding requiretty for RHEL based platforms --- diff --git a/doc/start/quick-ceph-deploy.rst b/doc/start/quick-ceph-deploy.rst index e05e5ce2203..484848c3f22 100644 --- a/doc/start/quick-ceph-deploy.rst +++ b/doc/start/quick-ceph-deploy.rst @@ -30,7 +30,7 @@ are in this directory when executing ``ceph-deploy``. 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 + ``Defaults requiretty`` setting. Change it to ``Defaults:ceph !requiretty`` to ensure that ``ceph-deploy`` can connect using the ``ceph`` user and execute commands with ``sudo``. @@ -379,4 +379,4 @@ the migration manually. .. _placement group: ../../rados/operations/placement-groups .. _Monitoring a Cluster: ../../rados/operations/monitoring .. _Monitoring OSDs and PGs: ../../rados/operations/monitoring-osd-pg -.. _Network Configuration Reference: ../../rados/configuration/network-config-ref \ No newline at end of file +.. _Network Configuration Reference: ../../rados/configuration/network-config-ref diff --git a/doc/start/quick-start-preflight.rst b/doc/start/quick-start-preflight.rst index ae4a58aac17..51e4823f723 100644 --- a/doc/start/quick-start-preflight.rst +++ b/doc/start/quick-start-preflight.rst @@ -78,7 +78,7 @@ following steps: .. note:: Some distributions (e.g., RHEL) require you to comment out - ``Default requiretty`` in the ``/etc/sudoers`` file for ``ceph-deploy`` to + ``Defaults requiretty`` in the ``/etc/sudoers`` file for ``ceph-deploy`` to work properly. If editing, ``/etc/sudoers``, ensure that you use ``sudo visudo`` rather than a text editor.