Thursday, 10 February 2011

Reset your Webmin admin password

Webmin is an awesome tool; super powerful and extremely intuitive. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin, or check out the screenshots.

However, at some point you might need to reset your password - especially if you want to use Webmin with a Linux server in Amazon EC2.

1. Login as root

2. Run one of these commands based on your distro

* RedHat distribution (Fedora, CentOS):
/usr/libexec/webmin/ /etc/webmin admin newpassword

* Debian distribution:
/usr/share/webmin/ /etc/webmin admin newpassword

* FreeBSD:
/usr/local/lib/webmin/ /usr/local/etc/webmin admin newpassword

3. Login to Webmin with your reset password.

Some guides and great texts about Webmin are:


No comments:

Post a Comment