diff options
author | James Moger <james.moger@gitblit.com> | 2015-05-22 09:40:40 -0600 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2015-05-22 09:40:40 -0600 |
commit | 63fdd0d3a0eb1aad92b180c6238bfa89915da999 (patch) | |
tree | 449ae8cdc98a7e0f74a20d62e4a41a5947220fbe | |
parent | d925631f6a2e5059387be643cd736bff471bad1c (diff) | |
parent | e4c2447099c0476f8de3b684aa68c1496218e0f2 (diff) | |
download | gitblit-63fdd0d3a0eb1aad92b180c6238bfa89915da999.tar.gz gitblit-63fdd0d3a0eb1aad92b180c6238bfa89915da999.zip |
Merged #250 "Improve PAM documentation"
-rw-r--r-- | src/site/setup_authentication.mkd | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/site/setup_authentication.mkd b/src/site/setup_authentication.mkd index 87b67497..a3bf4451 100644 --- a/src/site/setup_authentication.mkd +++ b/src/site/setup_authentication.mkd @@ -83,10 +83,16 @@ Windows authentication is based on the use of Waffle and JNA. It is known to wo ### PAM Authentication
-PAM authentication is based on the use of libpam4j and JNA. To use this service, your Gitblit server must be installed on a Linux/Unix/MacOSX machine and the user that Gitblit runs-as must have root permissions.
+PAM authentication is based on the use of libpam4j and JNA. To use this service, your Gitblit server must be installed on a Linux/Unix/MacOSX machine.
realm.authenticationProviders = pam
- realm.pam.serviceName = system-auth
+ realm.pam.serviceName = gitblit
+
+Then define a gitblit authentication policy in `/etc/pam.d/gitblit`
+
+ # PAM configuration for the gitblit service
+ # Standard Un*x authentication.
+ @include common-auth
### Htpasswd Authentication
|