Monday, February 25, 2008

Webmin - change user password

I'm a long-time fan of Webmin, however, today I encountered an interesting issue where post-Webmin install, the IP address of the server was changed. This created a situation where I couldn't log into Webmin at all.

A little research lead me to the "changepass.pl" file. I ending up finding this file on my system in the /usr/local/webmin directory. Most online help lists it in a different directory. Syntax is as follows:

./changepass.pl $WEBMIN_DIR $USER $NEW_PASSWORD

for example -
cd /usr/local/webmin
./changepass.pl /etc/webmin root secretword

No comments: