Jan Harkes <[EMAIL PROTECTED]> ,in message <[EMAIL PROTECTED]>
        , wrote: 

> And /bin/setuid-wrapper could be something like,
> 
>     #!/bin/sh
>     bin = "$0.real"
>     if [ -x "$bin" ];
>       sudo "$bin" $*
>     fi

  I would write that sudo as

sudo "$bin" "$@"

  in order to prevent mangling of the argument list.

-- 
Bob Forsman                                   [EMAIL PROTECTED]
           http://www.gainesville.fl.us/~thoth/

Reply via email to