On 08/24/2013 12:50 AM, Alexander Barton wrote:
On Mon, Aug 26, 2013 at 12:25:25AM +0200, Michiel van Es wrote:
==> /var/log/auth.log <== Aug 23 10:41:12 mail ngircd[8733]: PAM _pam_init_handlers: could not open /etc/pam.conf Aug 23 10:41:12 mail ngircd[8733]: PAM pam_start: failed to initialize handlers
[…]
Ok, so by default it will check /etc/pam.conf first and then /etc/pam.d/ngircd?
I think so, yes.
Do you have an example /etc/pam.d/ngircd config I can use or try? With my config posted above it does not seem to work..
And I don't think that it is a problem with your /etc/pam.d/ngircd file, but with your /etc/pam.conf -- which it "could not open" (auth.log). Why? I don't know. Do you have such a file? The permissions are ok? (ls -l /etc/pam.conf)
The file itself is world readable and existent but is empty since PAM now looks in /etc/pam.d
Can I add more verbosity to Ngircd?
The strange thing is, if this should work with pam-mysql which the PAM.txt suggests, then the file /etc/pam-mysql.conf would have even less permissions 6-0-0... It would be nice to find an example PAM config though how to set up Ngircd with pam (mysql, berkley db, pgsql or such).
Regards Alex
Regards,
Michiel