Cannot authenticate after upgrade 9.1 to 9.2

Shane Ambler FreeBSD at ShaneWare.Biz
Tue Mar 18 08:36:03 UTC 2014


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



More information about the freebsd-questions mailing list