Fixing bash script bogosity - help?

Martin Langhoff martin.langhoff at gmail.com
Tue Apr 28 10:30:22 EDT 2009


On Tue, Apr 28, 2009 at 3:28 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> $ su root -c '/bin/echo "$@"' /bin/echo one two three

Interesting - seems to work as

    runuser root -c '/bin/touch "$@"' /bin/touch "one two" "thre\"ee"

but for some reason it doesn't work on my script. Any ideas on how to
apply this to the runuser line on the ejabberdctl script?

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list