Useful Bash Scripts

From MikroTik Wiki
Revision as of 04:31, 11 September 2011 by Mudasir (talk | contribs) (Overview)
Jump to: navigation, search

Applies to RouterOS: v3, v4


Here are some small and very useful bash scripts that I have written and I use them from WebMin to perform some small tasks. These Include

  • Adding a user in PPP -> Secrets
  • Deleting a user in PPP -> Secrets
  • Editing user credentials (such as ID, Password, Profile, MAC-Address, etc...) in PPP -> Secrets
  • Disable a user in PPP -> Secrets

Below are the scripts that can be used from almost any Linux Distribution that supports Bash.

Adding a User