diff options
| author | Alexander Barton <alex@barton.de> | 2010-07-12 13:07:07 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-07-12 13:07:07 +0200 |
| commit | 583c50476bee24a8da9459163b609ac80353e63e (patch) | |
| tree | 102ebd031a483fb8c2837976f671312e52c98f43 /doc/PAM.txt | |
| parent | 808d4f6e85c13ff231321de76f9b356ec13110d4 (diff) | |
| download | ngircd-583c50476bee24a8da9459163b609ac80353e63e.tar.gz ngircd-583c50476bee24a8da9459163b609ac80353e63e.zip | |
Initial documentation for using PAM with ngIRCd
Diffstat (limited to 'doc/PAM.txt')
| -rw-r--r-- | doc/PAM.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/PAM.txt b/doc/PAM.txt new file mode 100644 index 00000000..64bbc7b6 --- /dev/null +++ b/doc/PAM.txt @@ -0,0 +1,36 @@ + + ngIRCd - Next Generation IRC Server + + (c)2001-2010 Alexander Barton, + alex@barton.de, http://www.barton.de/ + + ngIRCd is free software and published under the + terms of the GNU General Public License. + + -- PAM.txt -- + + +ngIRCd can optionally be compiled to use PAM, the Pluggable Authentication +Modules library, for user authentication. When compiled with PAM support, +ngIRCd will authenticate all users connecting to the daemon using the +configured PAM modules in an asynchronous child process. + +To enable PAM, you have to pass the command line parameter "--with-pam" to +the "configure" script. Please see the PAM documentation ("man 7 pam") for +details and information about configuring PAM and its individual modules. + +A very simple -- and quite useless ;-) -- example would be: + + /etc/pam.d/ngircd: + auth required pam_debug.so + +Here the "pam_debug" module will be called each time a client connects to +the ngIRCd and has sent its PASS, NICK, and USER commands. + +Please note ONE VERY IMPORTANT THING: + +All the PAM modules are executed with the privileges of the user ngIRCd +is running as. Therefore a lot of PAM modules aren't working as expected, +because they need root privileges ("pam_unix", for example)! +Only PAM modules not(!) requiring root privileges (such as "pam_pgsql", +"pam_mysql", "pam_opendirectory" ...) can be used in conjunction with ngIRCd. |