>>>>> On Fri, 11 Aug 2006 07:24:57 +0900
>>>>> nobu / ruby-lang.org said:
> 
> Does this work?
> 
>   sudo ~/opt/ruby18/bin/ruby -e 'include Process::Sys' -e 'p setregid(502, getegid)'


Mac-mini:~ kazu$ sudo ~/opt/ruby18/bin/ruby -e 'include Process::Sys' -e 'p setregid(502, getegid)'
-e:2:in `setregid': Operation not permitted (Errno::EPERM)
        from -e:2
Mac-mini:~ kazu$


--
|ZnZ
|Kazuhiro NISHIYAMA