There is no batch command, you can just open the config file with a text editor like gedit or vim in the Terminal. Also try using "sudo".
The file should be found at this location: /opt/uftdeveloper/lwe/lightweight-engine/config/grid-node-config.json (or in the user specific location!!! e.g.:Home/.leanft/config <- this will be used if it exists )
Here you should add the following properties with the corresponding values:
The passphrase should be encrypted here. You can use "Password Encoder" tool to generate the encrypted pass phrase.
Run ./password-encoder <password-to-encode> [-me], where <password-to-encode> is the password you want to encode.