Community discussions

MikroTik App
 
hotspotsolutions
Member Candidate
Member Candidate
Topic Author
Posts: 119
Joined: Thu Dec 16, 2004 1:48 pm

how To "$" in terminal?

Mon Aug 22, 2005 4:13 pm

Hi Guys,

This might be a stupid question, but when I do the following I get an error:
/ip hotspot user add name="theUserName" password="pa$$word" limit-uptime=3600s profile=256 disabled=no
If I take out the dollar signs it works. If I do it via winbox it works fine again.

Is there a way to do it in terminal some how? Are there any other characters that cause it a problem?
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Mon Aug 22, 2005 4:19 pm

Just escape the "$" with a backslash, so write
... password="pa\$\$word" ...
If you find another way to make $$$ by using the terminal, let me be part of your money-making machine :D
 
hotspotsolutions
Member Candidate
Member Candidate
Topic Author
Posts: 119
Joined: Thu Dec 16, 2004 1:48 pm

Mon Aug 22, 2005 4:21 pm

hi,

thanks for that, I will update our scripting system. I knew it would be something simple!

Joshua

Who is online

Users browsing this forum: Amazon [Bot] and 11 guests