\r
### PAM Authentication\r
\r
-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.\r
+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.\r
\r
realm.authenticationProviders = pam\r
- realm.pam.serviceName = system-auth\r
+ realm.pam.serviceName = gitblit\r
+ \r
+Then define a gitblit authentication policy in `/etc/pam.d/gitblit`\r
+\r
+ # PAM configuration for the gitblit service\r
+ # Standard Un*x authentication.\r
+ @include common-auth\r
\r
### Htpasswd Authentication\r
\r