[afnog] PAM Errors

tawanda kavayi kavayit at africaonline.co.zw
Tue Nov 13 14:29:55 UTC 2007


Hi,

There are already some PAM libraries in /lib/security, but the missing
ones are in /lib64/security. If symlink the entire /lib/security won't
the cause other problems?

Tawanda

Makan SIMAGA wrote:
> Hi,
> 
> Try this:
> create a symbolic link in /lib/security/ which point to where the shared
> library is (/lib64/security).
> 
> Makan.
> 
> 
> ----- Original Message ----- From: "tawanda kavayi"
> <kavayit at africaonline.co.zw>
> To: <afnog at afnog.org>
> Sent: Tuesday, November 13, 2007 1:52 PM
> Subject: [afnog] PAM Errors
> 
> 
>> Hi,
>>
>> I'm running OpenSuSe 10.2 on a x86_64 platform. I've been trying to
>> figure out why my logrotate is not working and I've isolated the problem
>> down to crond. Whenever crond tries to run the logrotate script, I see
>> the following in /var/log/messages:
>>
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: PAM unable to
>> dlopen(/lib/security/pam_unix2.so)
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: PAM [error:
>> /lib/security/pam_unix2.so: cannot open shared object file:
>> No such file or directory]
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: PAM adding faulty module:
>> /lib/security/pam_unix2.so
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: PAM unable to
>> dlopen(/lib/security/pam_pwcheck.so)
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: PAM [error:
>> /lib/security/pam_pwcheck.so: cannot open shared object fil
>> e: No such file or directory]
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: PAM adding faulty module:
>> /lib/security/pam_pwcheck.so
>> Nov 13 02:00:01   /usr/sbin/cron[10780]: Module is unknown
>> Nov 13 02:00:01   /usr/sbin/cron[10781]: Module is unknown
>>
>> The libraries in question are actually in /lib64/security. How can
>> reconfigure the PAM to include the correct path to the libraries?
>>
>> Regards,
>>
>> Tawanda
>>
>> _______________________________________________
>> afnog mailing list
>> http://afnog.org/mailman/listinfo/afnog
>>
> 
> 




More information about the afnog mailing list