-P option

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

-P option

Post by Thunderstone »



Hi,

I need to use the -P option to enter in a password, but the password has
a $ in it and I think it's messing it up. I get the error message:

Undefined variable.

Is there a way to make the -P option take whatever argument I want and
not try and interpret it?

And BTW - You're site seems to be wrong for the -P doc:

-----------------------------
Set login password (-S)

Syntax: -PPASS

Use PASS as the user password when accessing protected HTML pages. The
default is to skip protected
pages.
-----------------------------

it's -P, isn't it?

Thanks,
Ali





User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

-P option

Post by Thunderstone »



$, among other characters, is special to the unix shell. Use single quotes
around your password

-P'pass$word'


yes. the title of that page was wrong and has been fixed. thanks for
letting us know.


Post Reply