Getting Un-locked out of Webmin

Posted on June 5th, 2008 in Linux System Administration,Security by Brandon

Webmin has come a long way in the last year or two. I still (and always will) prefer the command line, but many customers are certainly much more comfortable using a web-interface to configure their server. I have to reset a password every once in a while and have to look up the steps every time. It seems I can never find them quickly, so I’ll put them here so I can find them easily next time.

Blocked IP addresses are stored a text file named /var/webmin/blocked. IP Address should be cleared out after some period of time, but you can hasten the process by clearing it manually:

cp /dev/null /var/webmin/blocked

Webmin passwords are stored in /etc/webmin/miniserv.users. A script for changing a user password is provided with webmin. Just run it like this:

/usr/libexec/webmin/changepass.pl /etc/webmin root

2 Responses to 'Getting Un-locked out of Webmin'

Subscribe to comments with RSS or TrackBack to 'Getting Un-locked out of Webmin'.

  1. Djs said,

    on October 2nd, 2008 at 6:38 am

    excellent, just what I needed!

  2. eureur.de said,

    on November 19th, 2014 at 7:20 am

    It is possible to clean this file
    /var/webmin/blocked
    and the remove from here
    /etc/webmin/miniserv.users
    something like 0;:0 near user who is blocked. Then webmin restart… and you can use your old pass.

Post a comment

Please copy the string tXq304 to the field below: