Subject: Re: Pam and Current
To: Marcin Jessa <lists@yazzy.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-embed
Date: 06/22/2005 10:04:55
On Jun 22, 2005, at 6:21 AM, Marcin Jessa wrote:
> Hi.
>
> I was wondering about changes made in Current.
> There seems to be some changes in pam that I was not aware of.
> I created a mini NetBSD version for embedded boxes. It all works
> fine with 2.0 kernel and bins compiled for it.
> But on current I get different library dependiences for the binaries.
> Also on 3.99.6 login tells me:
> login: pam_start failed
>
> Are the additional lib dependiences of 2.x replaced by pam on 3.99.6?
Correct. You need to include libpam. The upshot of this is that you
do NOT need to include the kerberos libraries unless you also
configure PAM to use kerberos; you only need include the PAM modules
that you actually want to use.
>
> On 3.99.6 :
>
> ldd login
> login:
> -lutil.7 => /usr/lib/libutil.so.7
> -lcrypt.0 => /usr/lib/libcrypt.so.0
> -lpam.0 => /usr/lib/libpam.so.0
> -lc.12 => /usr/lib/libc.so.12
>
> On 2.0:
> ldd login
> /usr/bin/login:
> -lutil.7 => /usr/lib/libutil.so.7
> -lcrypt.0 => /usr/lib/libcrypt.so.0
> -lskey.1 => /usr/lib/libskey.so.1
> -lkrb5.19 => /usr/lib/libkrb5.so.19
> -lasn1.6 => /usr/lib/libasn1.so.6
> -ldes.7 => /usr/lib/libdes.so.7
> -lkrb.6 => /usr/lib/libkrb.so.6
> -lcrypto.2 => /usr/lib/libcrypto.so.2
> -lroken.12 => /usr/lib/libroken.so.12
> -lcom_err.4 => /usr/lib/libcom_err.so.4
> -lc.12 => /usr/lib/libc.so.12
>
-- thorpej