Merge "Fix doc for adding sudo privileges to stack user"
This commit is contained in:
commit
ea82effa19
@ -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
|
From here on use the ``stack`` user. **Logout** and **login** as the
|
||||||
``stack`` user.
|
``stack`` user.
|
||||||
|
@ -63,7 +63,7 @@ to have sudo privileges:
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ apt-get install sudo -y || yum install -y sudo
|
$ 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``.
|
.. note:: On some systems you may need to use ``sudo visudo``.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user