[Samba] $ char in password

Jason Haar Jason.Haar at trimble.co.nz
Tue Mar 11 09:59:13 GMT 2008


Xu, Qiang (FXSGSC) wrote:
> That's great. Mike.
> Previously, I enclosed the password with double quotes. I didn't realize that double quotes will cause symbols like $1, $2 to be interpreted by Shell. Only single quotes can provide plain, uninterpreted text.
>
>   

Shell escapes can be a pain - that's why you should use the "-A 
/path/file" option where possible.

...unfortunately the Samba "net" command doesn't support it - I think 
it's the only Samba client command that doesn't?


-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1



More information about the samba mailing list