From: "Aleksi Niemelä" Date: 2000-12-14T15:37:04+09:00 Subject: [ruby-talk:7199] Re: module for unix password database tasks? > I forgot to mention that I read from a NIS database, so > /etc/passwd on my > clients isn't a complete list of accounts. thanks for the suggestion > though. I've never worked with NIS or unix password in general, but I thought this old extension for shadow passwords on linux might give you some idea how to implement what you need: ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ruby-shadow-1.4.tar.gz It contains code like entry = sgetspent(STR2CSTR(str)); - Aleksi