Skip to content

Commit

Permalink
docs: updated and corrected PAM chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
franku authored and joergsteffens committed Aug 20, 2019
1 parent 5a48e56 commit ae4b74d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/manuals/source/TasksAndConcepts/PAM.rst
Expand Up @@ -84,8 +84,10 @@ For PAM authentication a dedicated named console is used. Set the directive UseP
UsePamAuthentication = yes
}
In the dedicated |bconsole| config use name and password according as to the |dir|:

.. code-block:: ini
:caption: :file:`bconsole/pam-console.conf`
:caption: :file:`bconsole.conf`
Console {
Name = "PamConsole"
Expand All @@ -94,14 +96,15 @@ For PAM authentication a dedicated named console is used. Set the directive UseP
PAM User
^^^^^^^^
Example of a User resource (Bareos Director Configuration)
Users have limited access to commands and jobs. Therefore the appropriate rights should also be granted to PAM users. This is an example of a User resource (Bareos Director Configuration):

.. code-block:: ini
:caption: :file:`bareos-dir.d/console/pam-user.conf`
User {
Name = "Bareos"
Password = ""
Name = "a-pam-user"
Password = "" #unsed because authenticated by PAM
CommandACL = status, .status
JobACL = *all*
}

0 comments on commit ae4b74d

Please sign in to comment.