Re: pam_userdb.so: Where is it?

2006-05-12 Thread Kyrre Nygard

At 18:36 10.05.2006, N.J. Thomas wrote:

* Kyrre Nygard [EMAIL PROTECTED] [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:
 
  authrequired /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
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___


Thank you so much man.

This worked wonders for me :)

All the best,
Kyrre


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pam_userdb.so: Where is it?

2006-05-10 Thread Freminlins

Kyrre,

On 5/10/06, Kyrre Nygard [EMAIL PROTECTED] wrote:



Hello!

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.


Linux has it, but apparently FreeBSD does not.

I need it to set up virtual users with vsftpd.

I've been in contact with others with the same problem:


http://lists.freebsd.org/pipermail/freebsd-questions/2005-November/104571.html

As well as Freenode #vsftpd.

But nobody seems to know what the PAM module for Berkeley DB files is at.

Or perhaps somebody can suggest alternate methods?



You could download the source  (
http://cvs.sourceforge.net/viewcvs.py/pam/Linux-PAM/modules/pam_userdb/) and
try and build it.

Thanks,

Kyrre




Frem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pam_userdb.so: Where is it?

2006-05-10 Thread Kyrre Nygard

At 18:06 10.05.2006, Freminlins wrote:

Kyrre,

On 5/10/06, Kyrre Nygard 
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:


Hello!

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.



Linux has it, but apparently FreeBSD does not.
I need it to set up virtual users with vsftpd.

I've been in contact with others with the same problem:

http://lists.freebsd.org/pipermail/freebsd-questions/2005-November/104571.htmlhttp://lists.freebsd.org/pipermail/freebsd-questions/2005-November/104571.html 



As well as Freenode #vsftpd.

But nobody seems to know what the PAM module for Berkeley DB files is at.

Or perhaps somebody can suggest alternate methods?


You could download the source  ( 
http://cvs.sourceforge.net/viewcvs.py/pam/Linux-PAM/modules/pam_userdb/http://cvs.sourceforge.net/viewcvs.py/pam/Linux-PAM/modules/pam_userdb/) 
and try and build it.


Thanks,
Kyrre



Frem.


Thanks a lot man!

That's a real good advice. I'll see what I can do with it ...

All the best,
Kyrre

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pam_userdb.so: Where is it?

2006-05-10 Thread N.J. Thomas
* Kyrre Nygard [EMAIL PROTECTED] [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:
  
  authrequired /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
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]