The client utlity reads its configuration in the following order:
- /etc/monkeyfarm/mf.conf
- ~/.mf.conf
It is common practice to set the system wide defaults in /etc/monkeyfarm/mf.conf such as for the ‘url’ and other generic settings. You can then override the config on a per user basis for more personal settings such as connection settings which include a private api_key.
Assuming that the system wide configuration is legit, you can create a personal config at ~/.mf.conf with only the following configuration:
[connection:default]
user = john.doe
api_key = XXXXXXXXXXXXXX
url = https://monkeyfarm.example.com
Where ‘XXXXXXXXXXXXXX’ is the API key received after registering. Please note that the system wide configuration must have a valid ‘default’ connection. The user and api_key values can be bogus (as seen above) but the url must be accurate in order for new users to be able to register properly.