We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51a3f2e + b70d98f commit ea82effCopy full SHA for ea82eff
2 files changed
doc/source/guides/multinode-lab.rst
@@ -89,7 +89,7 @@ password:
89
90
::
91
92
- echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
+ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
93
94
From here on use the ``stack`` user. **Logout** and **login** as the
95
``stack`` user.
doc/source/guides/single-machine.rst
@@ -63,7 +63,7 @@ to have sudo privileges:
63
.. code-block:: console
64
65
$ apt-get install sudo -y || yum install -y sudo
66
- $ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
+ $ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
67
68
.. note:: On some systems you may need to use ``sudo visudo``.
69
0 commit comments