Date: Thu, 14 Feb 2002 12:11:27 +1030 From: "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au> To: current@freebsd.org Cc: markm@freebsd.org Subject: Re: PAM Error Message-ID: <3C6B15C7.28808147@dsto.defence.gov.au>
next in thread | raw e-mail | index | archive | help
>> Yesterday I tried to use SWAT for the first time since the PAM configs were >> moved from /etc/pam.conf and I'm getting the following error: >> >> Feb 6 22:54:05 galaxy swat: PAM _pam_init_handlers: could not open >> /etc/pam.conf >> >> What do I need to do to fix this? > >Recompile the app. I'm guessing it is linked statically, so is not >picking up the latest libpam. I am still getting this error on both -CURRENT machines I use and these machines *are* fully re-built from source with all applications re-built from an up-to-date ports tree. To reproduce: 1) update your world, kernel and /etc to post new pam 2) rm /etc/pam.conf 3) reboot 4) build ports/security/sudo 5) configure sudo if you haven't already (/usr/local/sbin/visudo as root) 6) type "sudo ls" as your authourised sudo user 7) notice the following on your console: Feb 14 12:05:47 blah sudo: PAM _pam_init_handlers: could not open /etc/pam.conf -- Matthew Thyer Phone: +61 8 8259 7249 Science Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Edinburgh PO Box 1500 EDINBURGH South Australia 5111 IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C6B15C7.28808147>