about summary refs log tree commit diff
path: root/contrib/Debian/ngircd.pam
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-01-19 22:07:38 +0100
committerAlexander Barton <alex@barton.de>2024-01-20 16:43:54 +0100
commit47f9c6d0a0085da2fbcbdae0a9736b79a98cc527 (patch)
tree7b78e62494a00cababe3b6cdb1d80f7fa3976f2f /contrib/Debian/ngircd.pam
parentc65c3435e3107846a1995aea166e8241595fffa4 (diff)
downloadngircd-47f9c6d0a0085da2fbcbdae0a9736b79a98cc527.tar.gz
ngircd-47f9c6d0a0085da2fbcbdae0a9736b79a98cc527.zip
Update included Debian package configuration
- Rewrite using current dh_make.
- Standards-Version: 4.6.2.
- No longer build 3 different packages; only build "ngircd" which now
  includes support for IDENT, PAM (disabled in the ngircd.conf installed
  by the package), SSL (OpenSSL), ZLib and IPv6.
- Update package description accordingly.
- No longer install a SysV init file, only install ngircd.service unit.
Diffstat (limited to 'contrib/Debian/ngircd.pam')
-rw-r--r--contrib/Debian/ngircd.pam10
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/Debian/ngircd.pam b/contrib/Debian/ngircd.pam
index 4468e56d..9d2f6d51 100644
--- a/contrib/Debian/ngircd.pam
+++ b/contrib/Debian/ngircd.pam
@@ -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