Expert Answer:
The following steps can be used to change the account used by the MATLAB Web App Server services, or to update the passwords used by these services following a password reset (to change or reset the password for a user account, refer to your OS's documentation). Note that MATLAB Web App Server uses two services, one for the server and one for individual app sessions.
If you are using the development version of Web App Server, you can update the credentials for the MATLAB Web App Server services by unregistering the current services in the Service Registration tab and re-registering with new credentials.
To change the existing MATLAB Web App Server account credentials on Windows:
- Stop the MATLAB Web App Server.
- Open the Windows "Services" application.
- Find the server and apps services as per this documentation.
- Right-click the service and select Properties.
- Under "Log On" tab, select "This Account." Update the user credentials and save your changes.
- Start the MATLAB Web App Server.
These steps can be used for both the development and the product versions of MATLAB Web App Server.
Note that on Unix systems, you do not need to update the credentials for the services following a password change/reset. The following steps are only necessary when changing the specific account used to run the services (for example, to set the services to run using a domain account instead of a local account).
To change the MATLAB Web App Server accounts on Linux/macOS (product version only):
- Stop the MATLAB Web App Server.
- Run ./webapps-config get and copy the output to a text file.
- Run ./webapps-uninstall to unregister the existing accounts.
- Run ./webapps-setup to set up the server again, specifying the new accounts you would like to use when prompted.
- Use ./webapps-config set to set up any additional configurations as per the output from (2). Note that the contents of your previous config folder have been moved to a new folder named config_backup in the same location.
- Start the MATLAB Web App Server.