Community discussions

MikroTik App
 
Gecko
just joined
Topic Author
Posts: 9
Joined: Mon Sep 07, 2015 8:43 am

Adding system user using script

Fri Oct 09, 2015 8:04 am

Hi There.

I am setting up a script to pre-configure a bunch of Mikrotiks for the company. In them i need to do a couple of things, and have 99.9% done everything, except the users

I basically need to add 2 users with Full Rights, then remove the admin user

My question is: since this is a rsc file, and of course not encrypted, Is there a way in which i can add the password using a MD5 hash?

I don't want my field technicians or nosy customers knowing the "master password" of the router, which they can find through simply opening the script in notepad..

I've searched for ages trying to find the answer, but to no avail.

Anyone have a clue?
 
Gecko
just joined
Topic Author
Posts: 9
Joined: Mon Sep 07, 2015 8:43 am

Re: Adding system user using script

Mon Oct 12, 2015 9:02 am

just a little nudge ;)
 
ShaneCar
just joined
Posts: 4
Joined: Thu Oct 15, 2015 5:39 am

Re: Adding system user using script

Thu Oct 15, 2015 6:29 am

No sure if there is a way to add password using MD5 hash, but TealFrog has tried to create a script for something like this: http://forum.mikrotik.com/viewtopic.php?t=62895

I'd recommend just taking the easy road and following Mikrotik's manual and setting up each user with a different level of access and different passwords: http://wiki.mikrotik.com/wiki/Securing_your_router