Hello everybody,
I’m writing because I need some help with creating a script.
I need to create a script that will automatically create a new user after a few unsuccessful login attempts from a known user.
The idea is to have a backup user automatically created with the credentials that I will put, if I can’t access mikrotik with my own user. Maybe forgot my password and attempted to login a lot of times.
If anybody has any idea, please help me.
Thanks!
I am very confused !!
You have a user that has forgot his usr/pass and now you want automatically create a new user to help him?
How does the user know the new usr/pass? Hod do you you know that he (user) will not forget it too?
Bad idea IMHO…
The new user/pass created will be known when we create the script. So it will be a backup plan in case the user can’t login with his user/pass.
O.K. let’s thik about it a little..
“automatically create a new user after a few unsuccessful login attempts from a known user.”
What does it mean “known user”? You assume that your user will type in the right username with wrong password, so the router can recognise unsuccessfull login from the known user! What if user types in the wrong username?? how will the router recognise unsucessfull login from known user?
OR… you will create a “backup user” after whatever attempt to login to your vpn???
And another thought, if your users are dumb enough to forget their username or password, why do you expect that they will know the backup username / password combination??
once again - BAD IDEA!