Merge "Fix doc for adding sudo privileges to stack user"

This commit is contained in:
Zuul 2022-08-10 10:52:19 +00:00 committed by Gerrit Code Review
commit ea82effa19
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ password:
::
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
From here on use the ``stack`` user. **Logout** and **login** as the
``stack`` user.

View File

@ -63,7 +63,7 @@ to have sudo privileges:
.. code-block:: console
$ apt-get install sudo -y || yum install -y sudo
$ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
$ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
.. note:: On some systems you may need to use ``sudo visudo``.