Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 12:36:46 -0400
From:      "N.J. Thomas" <njt@ayvali.org>
To:        Kyrre Nygard <kyrreny@broadpark.no>
Cc:        questions@freebsd.org
Subject:   Re: pam_userdb.so: Where is it?
Message-ID:  <20060510163646.GE20941@ayvali.org>
In-Reply-To: <7.0.1.0.2.20060510181801.02200c70@broadpark.no>
References:  <7.0.1.0.2.20060510172936.021f1e30@broadpark.no> <eeef1a4c0605100906s4cb2bbelf50c91eb960ff36a@mail.gmail.com> <7.0.1.0.2.20060510181801.02200c70@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kyrre Nygard <kyrreny@broadpark.no> [2006-05-10 18:18:23 +0200]:
> > > Does anybody know where pam_userdb.so has gone?
> >
> > FreeBSD doesn't appear to have ever had it, so it hasn't "gone"
> > anywhere. The thread you linked to below suggests exactly that.
> >
> >
> > You could download the source and try and build it.
>
> That's a real good advice. I'll see what I can do with it ...

Kyrre,

More info for you, digging through the archives came up with this:

    http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/117922.html

Quoting:

> > There's no pam_userdb.so available for FreeBSD. You could use
> > pam_pwdfile.so, which is in the ports-collection. Users are
> > added/changed e.g. through htpasswd. Works well if you have not a lot of
> > accounts.
> > 
> > a simple vsftpd.pam could look like this:
> > 
> > auth    required /usr/local/lib/pam_pwdfile.so pwdfile /etc/vsftpd_login
> > account required /usr/lib/pam_permit.so
> 
> 
> Just to let you know that worked a treat

hth,
Thomas

-- 
N.J. Thomas
njt@ayvali.org
Etiamsi occiderit me, in ipso sperabo



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