Subject: Re: Problem to 2.2 to 3.0_STABLE
To: None <>
From: Havard Eidnes <>
List: current-users
Date: 04/03/2006 18:36:06
> >> Hi, upgrading to 2.2 to 3.0_STABLE su and passwd does not work, I =
> >> that problem comes from pam auth, no idea how to fix it.
> >>
> >> su workd fine with users, but it does not work with root!
> >>
> >> # passwd
> >> Unable to change auth token: Module is unknown
> >>
> >> # su
> >> Undefined symbol "_openpam_debug" referenced from COPY relocation =
in su
> >>
> >> Any idea how to fix it?
> ls -l /usr/bin/su
> -r-sr-xr-x  1 root  wheel  17975 Jan  2 07:05 /usr/bin/su
> Yes I can run postinstall and etcupdate, but it cannot change any (*p=

I'm not terribly familiar with pam, but I suspect at least the first
error above could occur if you've not properly populated /etc/pam.d/.
E.g. /etc/pam.d/passwd should contain the single line

password        include         system

(plus some comments...)  If you have correctly run postinstall and
etcupdate, you should have 19 files installed in /etc/pam.d/, "su"
being one of them.

The "nm" program tells me that _openpam_debug comes from
/usr/lib/{,.0}.  Do you have those installed? (One is a
symlink to the other.)  My "su" has a dependency on libpam:

% ldd /usr/bin/su
        -lpam.0 =3D> /usr/lib/
        -lcrypt.0 =3D> /usr/lib/
        -lutil.7 =3D> /usr/lib/
        -lc.12 =3D> /usr/lib/
% =


- H=E5vard