Added note about not authenticating as root when using the PAM module

Closes #4046, refs saltstack/halite#108.
This commit is contained in:
Seth House 2013-12-23 20:26:18 -07:00
parent a31b202675
commit 3bb46ee78f
2 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,8 @@ So, the above allows the user thatch to execute functions in the test and
network modules on the minions that match the web* target. User steve is
given unrestricted access to minion commands.
.. note:: The PAM module does not allow authenticating as ``root``.
To allow access to :ref:`wheel modules <all-salt.wheel>` or :ref:`runner
modules <all-salt.runners>` the following ``@`` syntax must be used:

View File

@ -11,6 +11,11 @@ Provides an authenticate function that will allow the caller to authenticate
a user against the Pluggable Authentication Modules (PAM) on the system.
Implemented using ctypes, so no compilation is necessary.
.. note:: PAM authentication will not work for the ``root`` user.
The Python interface to PAM does not support authenticating as ``root``.
'''
# Import python libs