From: Bertram Scharpf Date: 2009-12-13T00:34:45+09:00 Subject: Re: How to make a ruby program tu run unser other user:group different than root Hi, Am Sonntag, 13. Dez 2009, 00:14:03 +0900 schrieb Iņaki 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 there any > 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 .