Community discussions

MikroTik App
 
jaxbluesbass
just joined
Topic Author
Posts: 10
Joined: Mon Dec 05, 2022 3:24 pm

Reset password over 10 router same time

Tue Dec 20, 2022 12:53 pm

Hello everyone, sorry but i'm start to work on mikrotik 3 weeks ago.

i have this situation:
1 server chr - user manager and Radius
10 router
4 Tech account on radius
1 account locally with write permession just in case of emergenzy due for example network down.( i try to access directly over the eth port) locally

I put Radius to ensure that 4 users are managed on the 10 Router that I manage directly from Radius.
But I'm left with a problem I have a local account that has write-only permissions for emergencies.
Every time I use it I would like to change the account password on all 10 routers and I would like to do it from DUDE
I can do it?
Is it right to go this route or is it wrong?

I go to the "node" which is my router and in tools I tried to write this:
/user set [/user find name="admin"] password=123456

but error said to me that path is incorrect or not found

on Router OS directly for ex /user> /user set [/user find name="admin"] password=123456
works
thanks to all in adavanced
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Reset password over 10 router same time

Tue Dec 20, 2022 1:55 pm

the correct syntax is this:
/user set admin password="123456"
But if you use on pasword special characters, the results can be unexpected.

What you can do is not doable on dude.
 
jaxbluesbass
just joined
Topic Author
Posts: 10
Joined: Mon Dec 05, 2022 3:24 pm

Re: Reset password over 10 router same time

Tue Dec 20, 2022 2:11 pm

in your opinion suggest to use another software of scripting to send this to the 10 router or another way can be to enter in SSH and run some command directly on ther router?
 
jaxbluesbass
just joined
Topic Author
Posts: 10
Joined: Mon Dec 05, 2022 3:24 pm

Re: Reset password over 10 router same time

Tue Dec 20, 2022 2:12 pm

thanks for you time and reply
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Reset password over 10 router same time

Tue Dec 20, 2022 2:30 pm

Who is online

Users browsing this forum: marcelofares and 17 guests