I ran into an issue today when upgrading to version 8.1.3 where my WebLM username/password did not work anymore and the licenses got uninstalled. Apparently this is a known issue. It’s now known to me.
Below are the steps to reset the password to the default admin user.
Step 1: Stop the service
Run the following command to stop WebLM:
service ipcs-ems stop-weblm
Step 2: Modify the Users.xml file that WebLM uses
Change your directory to where the Users.xml file is located:
cd /usr/local/weblm/server/webapp/admin
Backup the existing file
cp Users.xml Users.xml.original
Extract the Users.xml file from the upgrade tar.gz. Below is where it is located inside the file:
sbce-8.1.3.0-31-21052-563c74d7bdc7b0d1115031a5fa0f1927.tar.gz\sbce-8.1.3.0-31-21052.tar\sbce-8.1.3.0-31-21052.iso\Packages\weblm-server-8.1.3.0-2.noarch.rpm\weblm-server-8.1.3.0-2.noarch.cpio\.\usr\local\weblm\server\webapp\admin\Users.xml
Move the file from the tar.gz to the server
Step 3: Restart the service
Run the following command to stop WebLM:
service ipcs-ems start-weblm
Step 4: Login with the default credentials
Username: admin
Password: weblmadmin