Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 19:05:59 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Olivier Nicole <olivier.nicole@cs.ait.ac.th>,  "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Cannot authenticate after upgrade 9.1 to 9.2
Message-ID:  <5328056F.6050405@ShaneWare.Biz>
In-Reply-To: <CA%2Bg%2BBvhoYnbuaefCi-syXDrYDS1M_2%2Bq8n0vw7NUOAZthHUVcQ@mail.gmail.com>
References:  <CA%2Bg%2BBvhoYnbuaefCi-syXDrYDS1M_2%2Bq8n0vw7NUOAZthHUVcQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/03/2014 21:43, Olivier Nicole wrote:
> Hi,
> 
> I just completed an upgrade from 9.1 to 9.2, using the traditional
> way (fetch sources, make buildworld, make kernel, mergmaster -p,
> make installworld, mergemaster, make delete-old)
> 
> After I rebooted, I could not authenticate anymore: I get the error:
> 
> login: in try_dlopen(): /usr/lib/pam_skey.so: Shared object 
> "libskey.so.2" not found login: in openpam_load_module(): no
> pam_skey.so found

That would indicate that pam_skey.so wants to open libskey.so which
doesn't exist. I don't see either of those files on 8.4,9.2,10.0 or
current. The only reference to pam_skey I see in the svn logs was 13
years ago when updating to openssh 2.3.0.

make delete-old will remove these old libs, maybe you hadn't done that
in a while, or it just missed one.

I would say you can safely remove /usr/lib/pam_skey.so
You may want to make sure that it isn't listed in any pam config files

/etc/pam.d/*
/etc/pam.conf
/usr/local/etc/pam.d/*
/usr/local/etc/pam.conf

Given that you can't authenticate you would need to do this in single
user mode.

> The account on that server do not use PAM, they are plain old 
> /etc/passwd account, that have been working that way for ages (the 
> machine has been updated since version 4 or 5 I guess).

Actually PAM provides a common authentication framework that is used in
many places. Standard unix authentication works through pam_unix.so




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5328056F.6050405>