Auto update ePMP Force300 passwords from cnMaestro

Hi
I’m trying to use a template to automatically update all the passwords of my subs.
I tried the following but it keep sending me the following error.

This is the script I’ve been trying to use:

{
  "device_props": {
    "cambiumSysAccountsTable": [
      {
        "cambiumSysAccountsName": "admin",
        "cambiumSysAccountsHash": "[REDACTED]",
        "cambiumSysAccountsUID": "1000",
        "cambiumSysAccountsGID": "4",
        "cambiumSysAccountsDir": "/tmp",
        "cambiumSysAccountsShell": "/usr/bin/clish"
      },
      {
        "cambiumSysAccountsName": "installer",
        "cambiumSysAccountsHash": "[REDACTED]",
        "cambiumSysAccountsUID": "2000",
        "cambiumSysAccountsGID": "100",
        "cambiumSysAccountsDir": "/tmp",
        "cambiumSysAccountsShell": "/bin/false "
      }
    ]
  }
}

Any idea on how to fix it?

Thanks

Solution is simple, just copy/past as text.
RTF is not accepted

1 Like

I tried that too and it gave me the same error.

Check script like this (attachment)
passwords.txt (626 Bytes)

1 Like

Yes, a plain text .txt file or copy/pasted text should be used. Other formats like rich text format are not supported. You can see in the text box that additional formatting/encoding was read from the file and it does not match the original template text.

If importing a .txt file isn’t working you can also directly paste the template in the text box in cnMaestro.

1 Like

Thanks for the help. It works now.

2 Likes

Click solution on right post :slight_smile: