Forum: Ruby Ruby on linux: How to check (username,password) ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
CarmineM (Guest)
on 2006-01-25 23:20
(Received via mailing list)
Hi to everyone,

I'm writing some code to check that a password is the correct one for a
given user (in which case I need to change it to a supplied one).

As I've stated in the subject, I'm on a linux box.

Digging both in the core/standard library led me nowhere, while google
found a library named "ruby-pam".

I've downloaded and installed the library (no gem), and found that it
comes with no other documentation than the test scripts accompaining the
sources (c code).

 From the test scripts, I understood that one has to provide a
"conversation function" required to talk to PAM modules.

Now, I would like to know:

1. Are there any users/examples/documentation of the abovementioned
2. Are there simpler alternatives?

Thanks in advance for your help.

This topic is locked and can not be replied to.