diff options
| author | Alexander Barton <alex@barton.de> | 2016-06-06 01:08:55 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2016-06-06 01:08:55 +0200 |
| commit | 86a64ce6aa522e5cbdb3a90b878e09a3b61d07bf (patch) | |
| tree | 5f13682709817542d91e29a06791e657cdfe1ddf /doc/sample-ngircd.conf.tmpl | |
| parent | a93247d32f79d4b354c4a9e15bf05d787610eb2c (diff) | |
| parent | e84000f7b8b8fb8ae29f53f66dea488f904e0838 (diff) | |
| download | ngircd-86a64ce6aa522e5cbdb3a90b878e09a3b61d07bf.tar.gz ngircd-86a64ce6aa522e5cbdb3a90b878e09a3b61d07bf.zip | |
Add "PAMServiceName" configuration option
This setting allows to run multiple ngIRCd instances with separate PAM configurations on each instance. If one sets it to ngircd-foo, PAM will use /etc/pam.d/ngircd-foo instead of the default /etc/pam.d/ngircd. Thanks to "somechris" for the patch & pull request! Closes #226.
Diffstat (limited to 'doc/sample-ngircd.conf.tmpl')
| -rw-r--r-- | doc/sample-ngircd.conf.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index a4346b1e..3f9ba088 100644 --- a/doc/sample-ngircd.conf.tmpl +++ b/doc/sample-ngircd.conf.tmpl @@ -226,6 +226,15 @@ # character prepended to their respective user names! ;PAMIsOptional = no + # When PAM is enabled, this value determines the used PAM + # configuration. + # This setting allows to run multiple ngIRCd instances with + # different PAM configurations on each instance. + # If you set it to "ngircd-foo", PAM will use + # /etc/pam.d/ngircd-foo instead of the default + # /etc/pam.d/ngircd. + ;PAMServiceName = ngircd + # Let ngIRCd send an "authentication PING" when a new client connects, # and register this client only after receiving the corresponding # "PONG" reply. |