I have noticed whenever i have a complex password up to like 28 characters or so, RouterOS does not accept the password
I need to modify to allow even up to 256 characters or more!!!
How do i do this?
As far as I know and could find there is no limit.
1 character to avoid as first is $, it might be interpreted then as “value of variable which follows”
I just created a new user (in group read) on my Hex with this password (note I also used $):
Th1s!s@VeryL0ngP@$$W0rdTh1s!s@VeryL0ngP@$$W0rdTh1s!s@VeryL0ngP@$$W0rd
Then logged in using Winbox.
Works as expexted.
You could also move to Radius for accounts/passwords but that would complicate things further.
At first I though you were serious, then due to your uber name, I believe when you posted it was 1-APR-2022 where you are, so I assume this is an “april fools joke”.
That would be a nice one ![]()
Nopes not april fools
I have tried many times and it keep not accepting but when i reduce characters it allows
So there are 2 places to set password
There is
System => Password
AND
System => Users => Password
The places where i have been having issues is
System => Users => Password
So which ones are you guys using and what does each represent?
In CLI there is no System / users.
What is your version of ROS you are using and on what device ?
I am referring to /user (no system).
If however you are referring to Winbox access: I went to System → Users and then Password.
Example provided above worked there without any problem.
I think (but could be wrong) Winbox / System / Passwd is for setting the default admin password (an account which I by default ALWAYS DELETE when I configure a new device).
@uberwebguru
Without wasting time, publish the command line with the password that gives you the error instead of writing novels.
Don’t use as an excuse that you don’t want to show (rightly) the password, create another one that gives you an error and show that.
I already provided a working example.
Use that as well for testing.
This is a 1000 characters password and it works:
[rex@net] /user> set test password="1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
[rex@net] /user>
@holvoetn, you have two accounts?
I ask to do that to @uberwebguru, you have used wrong browser to reply…
Or I have misunderstand your reply…
Nope.
Just wanted to indicate that adding to his wrong example which you asked him to show, I already provided a (for me) working example (with other characters then only letters and digits) which he can also test to see if it does work or not.
I got a test engineer background (long time ago). I usually test negative ánd positive.
Ok, but on your example are missing all characters usable on routeros…
Ok, but on your example are missing all characters usable on routeros....
???
Th1s!s@VeryL0ngP@$$W0rdTh1s!s@VeryL0ngP@$$W0rdTh1s!s@VeryL0ngP@$$W0rd
You only got digits (ok, a LOT of digits). I got lower case, upper case, digits, diacritics, ...
I don't need to use the complete ASCII set to
1- prove I can go larger then 28 characters (which was initiallly listed as problem) and
2- prove it's possible to use "special" characters.
You not understand?
Useless for Passwords:
Usable on Passwords: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz{|}~
A passwrod than use all usable characters with escapes for routeros 6.x:
:put "!\"#\$%&'()*+,-./0123456789:;<=>\?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
/user
set test password="!\"#\$%&'()*+,-./0123456789:;<=>\?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
If you notice ? " \ and $ must be escaped
Edit: on v7 probably ? must not be escped…
Eh, nope, not when using Winbox.
I could enter that pasword using Winbox just like I showed it.
And I even was able to login using Winbox with that test user using that exact same passwd.
There was no escaping needed.
I know that, but for be clear for the others than read this topic, on console the ? \ " and $ must be escaped…
On v7 probably the ? can not be escaped.
And probably the OP only talk about winbox, but as you notice, no problem (I use both 32 and 64 3.35)
I know that, but for be clear for the others than read this topic, on console the ? \ " and $ must be escaped...
And probably the OP only talk about winbox, but as you notice, no problem (I use both 32 and 64 3.35)
You do know we are both talking about the same thing, right ? ![]()
OP did indeed use Winbox (but he needs to confirm that).
And from CLI some characters need to be escaped, I am aware, but that was not his question.
I think (but could be wrong) Winbox / System / Passwd is for setting the default admin password (an account which I by default ALWAYS DELETE when I configure a new device).
No, “System / Password” is for the current used user for open winbox
OP did indeed use Winbox (but he needs to confirm that).
Or webfig… has same menu structure, I do a test…
Work also on webfig 6.46.8, no problem