Add a warning about sudoers file

Change-Id: Ide366308c85b0af966afd03d0d9c678826748ee6
This commit is contained in:
John Trowbridge 2015-09-25 12:17:24 -04:00
parent c40fb55fd5
commit 7b7130ab33
1 changed files with 5 additions and 0 deletions

View File

@ -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 *
.. 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::
``rootwrap.conf`` and all files in ``rootwrap.d`` must be writeable
only by root.