Hi,

Am Sonntag, 13. Dez 2009, 00:14:03 +0900 schrieb Iki Baz Castillo:
> Hi, many daemons allow an argument "-u uid" which makes the program to run 
> under that user. Of course this can be done just by root or privileged users.
> 
> It's commonly used in init scripts. These are started by init process running 
> as root and start services running under other user.
> 
> However it seems that ruby binary doesn't implement such option. Is thereny 
> way to get it?
> If not I should use "su" command and so.

Maybe you like to copy that:

  http://bertram-scharpf.homelinux.com:8808/doc_root/bs-ruby-3.0/rdoc/classes/Kernel.src/M000100.html

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
*
Discover String#notempty? at <http://raa.ruby-lang.org/project/step>.