Community discussions

MikroTik App
 
User avatar
tomasi
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Fri Oct 03, 2014 6:40 pm
Location: Brazil
Contact:

Feature Request - Password Profile to Assign to Items

Tue May 30, 2017 11:14 pm

Hi,

Is it possible to add a feature to manage a password profile?
Then we could assign this profile, instead of set an individual password to each item.

Yesterday, I changed our full access password in all routers of our network via script.

Today, I'm facing difficult to access the items via right click > tools > winbox because password doesn't match.
I'm changing every item to the new password.

If possible this resource, the only thing I would need to change is update the "master" password of the profile and all items associated to this profile will be accessible again.

Thanks. :) :) :)
 
gustavomam
Trainer
Trainer
Posts: 287
Joined: Tue Jul 23, 2013 6:29 pm
Location: Spain
Contact:

Re: Feature Request - Password Profile to Assign to Items

Wed May 31, 2017 9:59 am

Hi.

I think this issue could be resolve using AAA authentication with freeradius, usermanager or other.

Change username/password in a server is easier than changing with scripting.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Feature Request - Password Profile to Assign to Items

Wed May 31, 2017 11:37 am

He probably needs to change the login credentials for the monitored devices within the dude, I guess...
 
User avatar
tomasi
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Fri Oct 03, 2014 6:40 pm
Location: Brazil
Contact:

Re: Feature Request - Password Profile to Assign to Items

Wed May 31, 2017 5:43 pm

Jarda, you're right

The tool to change all passwords is ready: I have a .bat script that calls PLINK.exe and PSCP.exe, log in all routers and apply the command to change password.

The problem is: after change all full access password in all routers, I need to change the login credentials of each item within dude:

Image

My request is a profile to assign to the items, then after changing password via script, the only step I would have to do is to change the password assigned to this profile.
 
ozairakhlaq
just joined
Posts: 24
Joined: Fri Mar 16, 2018 11:34 am

Re: Feature Request - Password Profile to Assign to Items

Fri Jan 15, 2021 9:42 am

Hi.

I think this issue could be resolve using AAA authentication with freeradius, usermanager or other.

Change username/password in a server is easier than changing with scripting.
This is exactly what is needed. But Dude currently don't support device login credentials via RADIUS. If it would, It'd be really great!
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request - Password Profile to Assign to Items

Sat Aug 07, 2021 12:10 pm

The problem is: after change all full access password in all routers, I need to change the login credentials of each item within dude
My request is a profile to assign to the items, then after changing password via script, the only step I would have to do is to change the password assigned to this profile.
It's already possbile on The Dude change all password at the same time since v4.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Feature Request - Password Profile to Assign to Items

Sat Aug 07, 2021 1:50 pm

It's already possbile on The Dude change all password at the same time since v4.
How ?
Does it change the credentials on Dude and/or the monitored devices credentials as well ?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request - Password Profile to Assign to Items

Sat Aug 07, 2021 2:20 pm

This is the first time I've revealed it in all these years, no one until now has had the same idea as me...
Very dangerous, but, YES, using ros_command("/user set rextended password=!RxR$$io22") , like is monitoring something everywhere, you send the new password at all device dude already can login into.

This instead is "well know":
But if you already have changed all password on devices,
go on graphical dude client (not inside winbox) go on dude / devices, select all devices needed, click with right button, select "settings" (NOT "DEVICE SETTINGS"),
if some field is changed, like username or password, only this field is applied to all when clicked on OK.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Feature Request - Password Profile to Assign to Items

Sat Aug 07, 2021 8:04 pm

Am not really sure i understand ...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request - Password Profile to Assign to Items

Sat Aug 07, 2021 8:35 pm

???
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Feature Request - Password Profile to Assign to Items

Sun Aug 08, 2021 8:53 pm

I don't understand your description on post #8 ...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request - Password Profile to Assign to Items

Sun Aug 08, 2021 11:40 pm

Syntesis:
Change all password on already monitored devices using ros_command("/user set rextended password=!RxR$$io22")

Change all password memorized on dude (but not on the devices):
On Dude Windows Client select all devices needed, click with right button, select "settings" (NOT "DEVICE SETTINGS"), change password field,
when clicked on OK are applied to all devices selected.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Feature Request - Password Profile to Assign to Items

Sun Aug 08, 2021 11:54 pm

Are you using full admin as dude user? I would consider it quite dangerous, taking into account the fact that dude is not maintained by the developers for years...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request - Password Profile to Assign to Items

Mon Aug 09, 2021 2:23 am

..the fact that dude is not maintained by the developers for years...
This must be demostrated, but...

I reply to the OP, the user has clearly put the same password on all devices, there is already no basic security...
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Feature Request - Password Profile to Assign to Items

Mon Aug 09, 2021 3:42 pm

Syntesis:
Change all password on already monitored devices using ros_command("/user set rextended password=!RxR$$io22")
Yes, but how do you apply that to multiple devices in order to change the password to more than one Ros devices ?

As for the Dude, got it... nice to know...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request - Password Profile to Assign to Items

Mon Aug 09, 2021 4:26 pm

Syntesis:
Change all password on already monitored devices using ros_command("/user set rextended password=!RxR$$io22")
Yes, but how do you apply that to multiple devices in order to change the password to more than one Ros devices ?

As for the Dude, got it... nice to know...
On windows The Dude client

create one function called
change_password()
with code
ros_command(":put [/user set rextended password=!RxR$$io22]")

On Server configuration / Map / Device Apparence / Label add after all other things inside the field
when you apply that, all device run that command....
Not only password, you can do everything on this way.

After done remember to remove only [change_password()] inside the label field
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: Feature Request - Password Profile to Assign to Items

Mon Aug 09, 2021 9:26 pm

Good to know ...

Who is online

Users browsing this forum: No registered users and 6 guests