From: Rob Biedenharn Date: 2009-01-28T09:45:39+09:00 Subject: Re: Super User Can't Change UID? On Jan 27, 2009, at 6:26 PM, James Gray wrote: > On Jan 27, 2009, at 5:21 PM, Michel Boaventura wrote: > >> This works on my gentoo without any problem. Try to became root and >> try to run to see if it's another problem. > > It doesn't seem to work for me that way either: > > $ sudo sh > Password: > sh-3.2# ruby -r etc -e 'Process.uid = Etc.getpwnam("james").uid' > -e:1:in `uid=': Operation not permitted (Errno::EPERM) > from -e:1 > > James Edward Gray II > It works for me on Ubuntu and Mac OS X also. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com