Use hotspot html to run terminal command

Is it possible to run a command after submitting a POST from a html page on the hotspot webserver?

We’re running a RB750 for a small cafe. Hotspot is configured just with a a couple users. Guests login using user ‘guest’ together with a simple password.

Just to make sure not too many neighbours eating our connection we change the guest password every other day via Winbox. But for obvious reasons I don’t really like this method.

I’d love to have a simple, unprotected form on a ‘secret’ html page where the staff can just type in the new password and submit the form.

Is this possible without using up too much system resources? Any other options?

Alternatively I’m thinking of writing a telnet script that does the same, but this will require a separate computer to run.

You could accomplish that by using a customized webfig skin.

See http://forum.mikrotik.com/t/webfig-skins-tutorial/47486/1 and http://wiki.mikrotik.com/wiki/Manual:Webfig#Skins

Never heard of Webfig until now but this seems to be exactly the thing I was looking for! Thanks!

i suggest to use a script that generate a random string each day …

How I do that?