From: Kent Dahl Date: 2001-09-27T04:58:26+09:00 Subject: [ruby-talk:21749] Re: Running ruby scripts suid-root "Florian G. Pflug" wrote: > How can I run a ruby script suid root? > I tried setting both the script, and the interpreter to mode 4755, but I > still doesn't work. I haven't tried running a Ruby script suid root, but I had to run one suid user once. The secure solution proposed by the local gurus were to use a C wrapper program that is suid user. I don't remember the original url, but a quick searched showed this: http://www.tesol.net/scripts/Otherstuff/setuid.html#yourwrap -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/