]> arthur.ath.cx Git - ngircd.git/blobdiff - contrib/Debian/ngircd.pam
Update included Debian package configuration
[ngircd.git] / contrib / Debian / ngircd.pam
index 4468e56d5cc47fc6e9e4eca62bb3c979b9c49a89..9d2f6d512d2d311ae97ae3984768423a0d031808 100644 (file)
@@ -1,4 +1,10 @@
 # /etc/pam.d/ngircd
 
-# allow all connections to ngIRCd
-auth required pam_permit.so
+# You have to adjust this configuration to your local setup and needs. Keep in
+# mind that all PAM modules are run with the privileges of the user account the
+# ngIRCd daemon runs as ("irc" by default, not root!), so you can't use PAM
+# modules requiring root privileges (like pam_unix, for example)!
+
+# Log and deny all connections to ngIRCd:
+auth required pam_warn.so
+auth required pam_deny.so