How to change webmin user password

Wednesday, 12th May 2010

I had to change a webmin username’s password recently. After spending few minutes Googling I came to the answer here is a quote from Webmin Website

How do I change my Webmin password if I can't login?

Included with the Webmin distribution is a program called changepass.pl to solve erecisely this problem. Assuming you have installed Webmin in
/usr/libexec/webmin, you could change the password of the admin user to foo by running
/usr/libexec/webmin/changepass.pl /etc/webmin admin foo

This works like a charm and I was able to change a certain username’s password on a CentOS 5.3 right out of the box.
Probably on other Linux distrubutions as well as freebsd it’s quite probable that the changepass.pl webmin changepassword script is located in different location.
So if you are about to change webmin’s password on other Linux or BSD architecture just either find the script using the gnu find command or use the locate command to search for it and execute the script changing the script location in the foreshown example.

Share this on:

Download PDFDownload PDF

Tags:

3 Responses to “How to change webmin user password”

  1. admin says:
    IceWeasel 3.0.14 IceWeasel 3.0.14 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009091008 Iceweasel/3.0.14 (Debian-3.0.14-1)

    Maybe there are other ways, as well?

    View CommentView Comment
  2. pissed_off says:
    Opera 11.10 Opera 11.10 Windows 7 Windows 7
    Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10

    “Probably on other Linux distributions”

    ‘Probably’ isn’t anything. You’ve said nothing that’s not already in the webmin FAQ.

    FreeBSD

    /usr/local/lib/webmin/changepass.pl
    /usr/local/lib/webmin-1.540/changepass.pl

    no webmin in /etc/ or /usr/libexec

    I don’t do faith and ‘probably’ you tit.

    View CommentView Comment
    • admin says:
      Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
      Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

      Thanks for the note

      View CommentView Comment

Leave a Reply

CommentLuv badge