plink removes quote marks

From: Derrin Chong (derrin_at_lava.net)
Date: 11/27/03

  • Next message: Jim Davis: "Re: plink removes quote marks"
    Date: Wed, 26 Nov 2003 17:52:55 -1000
    
    

    Hi folks,

    I'm trying to run the following command.

    plink -load 'OG' -l joe.staff sudo /usr/local/sbin/disable-account
    joetest --service 'dialup flat' --reason 'abuse'

    The 'OG' putty config has the default values except that local echo is
    forced off to hide the sudo password. When I check the sudo log on the
    server, the command is being called with the quotation marks removed.

    /usr/local/sbin/disable-account joetest --service dialup flat --reason abuse

    So disable-account won't run because it's expecting the --service option
    argument to be quoted.

    Anyone know how to fix this?

    Thanks,
    derrin


  • Next message: Jim Davis: "Re: plink removes quote marks"