From: WATANABE Hirofumi Date: 2000-12-14T13:59:42+09:00 Subject: [ruby-talk:7195] Re: module for unix password database tasks? Matt Harrington writes: :i'm going through the tutorial and have in the back of my mind an idea for :my first script. it requires access to the unix password database along :the lines of getpwent(). i don't see a module with this functionality in :the library documentation. does one exist or should i look into calling C :from Ruby? Use Etc module. % ruby -r etc -e 'p Etc.getpwnam("root")' # See ext/etc/etc.txt for more information. -- eban