Hello,

On Thu, Mar 27, 2008 at 04:33:01PM +0100, [EMAIL PROTECTED] wrote:
> When trying to activate libpam-p11 (v0.1.3-1) for login, I've modified 
> /etc/pam.d/common-auth to contain :
> 
> --- CUT ---
> auth    required        pam_p11_opensc.so /usr/lib/opensc-pkcs11.so
> #auth   required        pam_unix.so nullok_secure
> --- CUT ---

It will be quite difficult for me to debug this, as I have no such
device/setup.

Would you be able to rebuild a shadow package with debug information to
check where su is really failing?

> Then when doing an su, there's a segfault :
> 
> --- CUT ---
> [EMAIL PROTECTED]:~$ su
> su: Authentication service cannot retrieve authentication info
> Erreur de segmentation
> [EMAIL PROTECTED]:~$
> --- CUT ---

It seems it is really failing in su, not in PAM ("Authentication service
cannot retrieve authentication info" is a message from PAM, but
successfully received by su), but are you able to use the PAM module with
this setup on another service?


Assuming the issue is in su, there are different places where su could
issue such error message. su is usually doing a very few things after
showing the error message.  Could you check the syslog messages at the
time of the failure (in /var/log/auth.log)? This will probably give me
some hints.


It could also be interesting to know if SYSLOG_SU_ENAB and SULOG_FILE are
set in your /etc/login.defs file (and to which value).


Best Regards,
-- 
Nekral



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to