From: Park Heesob Date: 2001-11-01T22:03:16+09:00 Subject: [ruby-talk:24076] Re: getpwnam().... Hi, > I've seen references to an Etc module that is a wrapper to getpwnam(). > Anyone know either: > > a) where that module exists (can't seem to find it); or > > b) if I'm missing something that's staring me in the face (is it > built-in and under a different name)? > > Thanks in advance. -sc Etc module is built-in and located at "/usr/local/lib/ruby/1.6/i686-linux/etc.so" in my case sample code: require 'etc' a = Etc.getpwnam('root') p a.uid Park Heesob �������������������������������������������:������g����~���&�����f�v����a�������_�j(��&