views:

31

answers:

1

Hi,

Is there an authentication plugin for rails which uses the host system's /etc/passwd file to provide user/password information? The goal is to provide user login to a rails app for the same users who already have local login accounts to the linux machine hosting the rails app.

Cheers.

+1  A: 

Hi there,

If your system uses PAM (h ttp://en.wikipedia.org/wiki/Pluggable_Authentication_Modules), most linux distributions do, you might want to look at Ruby/PAM.

Or you could try and use the authlogic gem + authogic_pam http://github.com/nbudin/authlogic_pam. I think the

cristian