plink removes quote marks
From: Derrin Chong (derrin_at_lava.net)
Date: 11/27/03
- Previous message: marco_at_marcosoftware.com: "Plain & Simple . . ."
- Next in thread: Jim Davis: "Re: plink removes quote marks"
- Reply: Jim Davis: "Re: plink removes quote marks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: marco_at_marcosoftware.com: "Plain & Simple . . ."
- Next in thread: Jim Davis: "Re: plink removes quote marks"
- Reply: Jim Davis: "Re: plink removes quote marks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]