[MUSCLE] MusclePAM problem

Ludovic Rousseau ludovic.rousseau at gmail.com
Wed May 21 06:36:35 PDT 2008


2008/5/21  <latalt2 at fel.cvut.cz>:
> Hello everyone

Hello,

> Finally i succeeded in load musclecard applet and generate some keys via
> muscleTools and xcardII: I'm now trying to get to life PAM authentication
> using Muscle card. And it's not working.
>
> on command: sudo joe
>
> it throws error:
>
> sudo: pam_authenticate: Unknown module
>
> I checked log file (/var/log/auth.log) and that says:
>
> May 21 14:51:30 tomiik-desktop sudo: PAM unable to
> dlopen(/lib/security/pam_stack.so)
> May 21 14:51:30 tomiik-desktop sudo: PAM [error: /lib/security/pam_stack.so:
> cannot open shared object file: No such file or directory]
> May 21 14:51:30 tomiik-desktop sudo: PAM adding faulty module:
> /lib/security/pam_stack.so
> May 21 14:51:30 tomiik-desktop sudo: PAM unable to
> dlopen(/lib/security/pam_musclecard.so)
> May 21 14:51:30 tomiik-desktop sudo: PAM [error:
> /lib/security/pam_musclecard.so: undefined symbol: __stack_chk_fail_local]
> May 21 14:51:30 tomiik-desktop sudo: PAM adding faulty module:
> /lib/security/pam_musclecard.so
> May 21 14:51:32 tomiik-desktop sudo: pam_unix(sudo:auth): authentication
> failure; logname=tomiik uid=0 euid=0 tty=/dev/pts/3 ruser= rhost=
>  user=tomiik
> May 21 14:51:34 tomiik-desktop sudo:   tomiik : pam_authenticate: Neznámý
> modul ; TTY=pts/3 ; PWD=/home/tomiik ; USER=root ; COMMAND=/usr/bin/joe
>
> Any idea?

It looks like the symbol stack_chk_fail_local is not found in
pam_musclecard.so by the loader.

Maybe you are compiling pam_musclecard.so compiled on one distribution
but using the library on another (different) distribution.

I found a reference to stack_chk_fail_local in [1]:
CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper at sources.redhat.com	2005-06-26 18:02:43

Added files:
	debug          : stack_chk_fail_local.c stack_chk_fail.c

Log message:
	Entry point for detected stack smashing.

Bye

[1] http://www.cygwin.com/ml/glibc-cvs/2005-q2/msg00463.html

-- 
 Dr. Ludovic Rousseau



More information about the Muscle mailing list