Reset Weblm Password

· Avaya
Authors

Reset weblm password on AES,

Create staging area and extract original .war file:

mkdir /tmp/WebLMwar
cp /usr/share/tomcat-5.5.9/webapps/WebLM.war /tmp/WebLMwar/
cd /tmp/WebLMwar/
jar xvf WebLM.war

Verify and backup old User.xml

cat /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml
cp /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml /tmp/WebLMwar/Users.xml.bkup
cp /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml.bkup

verify new file:

cat admin/Users.xml

Overwrite, verify, and change permission old/new file:

cp admin/Users.xml /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml
cat /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml
chmod 666 /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml
ls -la /usr/share/tomcat-5.5.9/webapps/WebLM/admin/Users.xml

cleanup:

cd ..
rm -R WebLMwar/
rm WebLM.war
ls -la

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: