Add a warning about sudoers file
Change-Id: Ide366308c85b0af966afd03d0d9c678826748ee6
This commit is contained in:
parent
c40fb55fd5
commit
7b7130ab33
|
@ -169,6 +169,11 @@ configuration directory (e.g. ``/etc/ironic-inspector/``) and create file
|
||||||
|
|
||||||
stack ALL=(root) NOPASSWD: /usr/bin/ironic-inspector-rootwrap /etc/ironic-inspector/rootwrap.conf *
|
stack ALL=(root) NOPASSWD: /usr/bin/ironic-inspector-rootwrap /etc/ironic-inspector/rootwrap.conf *
|
||||||
|
|
||||||
|
.. DANGER::
|
||||||
|
Be very careful about typos in ``/etc/sudoers.d/ironic-inspector-rootwrap``
|
||||||
|
as any typo will break sudo for **ALL** users on the system. Especially,
|
||||||
|
make sure there is a new line at the end of this file.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
``rootwrap.conf`` and all files in ``rootwrap.d`` must be writeable
|
``rootwrap.conf`` and all files in ``rootwrap.d`` must be writeable
|
||||||
only by root.
|
only by root.
|
||||||
|
|
Loading…
Reference in New Issue