mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-16 15:29:56 +00:00
feat: add support of pam authentication
Add naive implementation of user password check by calling su command. Also change some authentication method to require username to be string instead of optional string
This commit is contained in:
13
docs/faq.rst
13
docs/faq.rst
@ -1348,6 +1348,19 @@ How to enable basic authorization
|
||||
#.
|
||||
Restart web service ``systemctl restart ahriman-web``.
|
||||
|
||||
Using PAM authentication
|
||||
""""""""""""""""""""""""
|
||||
|
||||
There is also ability to allow system users to log in. To do so, the following configuration have to be set:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[auth]
|
||||
target = pam
|
||||
full_access_group = wheel
|
||||
|
||||
With this setup, every user (except root) will be able to log in by using system password. If user belongs to the ``wheel`` group, the full access will be automatically granted. It is also possible to manually add, block user or change user rights via usual user management process.
|
||||
|
||||
How to enable OAuth authorization
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
Reference in New Issue
Block a user