From: Bob Hutchison Date: 2007-06-13T23:12:57+09:00 Subject: Re: executing sudo from ruby On 13-Jun-07, at 8:40 AM, anansi wrote: > the thing is that everything needs to be done by this script and no > further command. So can an app give it self the root uid at runtime? If you aren't worried about security, you might try expect. Using expect you can define responses to prompts, e.g. responding with the password. ---- Bob Hutchison -- tumblelog at Recursive Design Inc. -- weblog at -- works at