Community discussions

MikroTik App
 
User avatar
LinuxLarry
just joined
Topic Author
Posts: 20
Joined: Fri Aug 10, 2018 9:31 pm
Location: Earth

Special Character Support

Wed Oct 13, 2021 10:21 pm

Hi,

I have searched and searched and I have not been able to find a answer yet so I was hoping maybe someone around here knows where I can find a list of unsupported special characters or is there a way that I need to escape them to be used.

I noticed if I wanted to say use an $ in a password that it would break in the cli. I was curious what other characters the system would do that with and what they were or am I needed to escape it some how. I tried using \$ but that too was not valid.

This would be regarding RouterOS6.
 
msatter
Forum Guru
Forum Guru
Posts: 2316
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: Special Character Support

Thu Oct 14, 2021 12:56 am

Sometimes you have also to escape the escape. Try \\$

From the manual: https://help.mikrotik.com/docs/display/ ... outerUsers

name (string; Default: )
User name. Although it must start with an alphanumeric character, it may contain "*", "_", "." and "@" symbols.

password (string; Default: )
User password. If not specified, it is left blank (hit [Enter] when logging in). It conforms to standard Unix characteristics of passwords and may contain letters, digits, "*" and "_" symbols.
Loving my freedom and so, no Twitter, no Facebook/Instagram/WhatsApp, no Apple and no Google/Alphabet, no Amazon/Cloudfront/AWS. However, 'happy' with giving money to Italy.

Running:
RouterOS 7RC4 and 6.49RC / Winbox 3.31 64bits
 
2frogs
Long time Member
Long time Member
Posts: 678
Joined: Fri Dec 03, 2010 1:38 am

Re: Special Character Support

Thu Oct 14, 2021 4:47 am

You have to put password="1234/$", needs the "".
 
User avatar
LinuxLarry
just joined
Topic Author
Posts: 20
Joined: Fri Aug 10, 2018 9:31 pm
Location: Earth

Re: Special Character Support

Thu Oct 14, 2021 10:10 pm

Thanks for the info

Kind Regards

Who is online

Users browsing this forum: ConnyMercier, LeChuck1988, YordanY1 and 40 guests