Zhao Yi wrote:
> Can ruby check user name and password the same way as Linux OS? I use
> "ypcat passwd" to list all users and its encrypted password. I want
> users to input their user name and password to ruby and let ruby the
> check its validation.
> 
> thanks.

You may be able to find a wrapper to crypt(3) or whatever your system 
uses to generate the hashes in the passwd file.  Or a pure ruby one.
-=r
-- 
Posted via http://www.ruby-forum.com/.