Can't locate ./acl/md5-lib.pl at /usr/libexec/webmin/changepass.pl line 6

Centos 8
1.9
Can’t locate ./acl/md5-lib.pl at /usr/libexec/webmin/changepass.pl line 6.

Please help

Hi,

The work-around would be first:

cd /usr/libexec/webmin

… and later use it as:

./changepass.pl /etc/webmin user pass

This, did not work. I restarted server also. Is there any other option?
Thank you

I have just added a helper command to change Webmin user password:

# webmin passwd  --help
Usage:
    passwd [options]

Options:
    --help, -h
        Print this usage summary and exit.

        Examples of usage:

         - passwd --user root
 
         - passwd --user root --password ycwyMQRVAZY
 
         - passwd --config /usr/local/etc/webmin --user root --password ycwyMQRVAZY

    --config, -c
        Specify the full path to the Webmin configuration directory.
        Defaults to "/etc/webmin"

    --user, -u
        Existing Webmin user to change password for

    --password, -p
        Set new user password. Using this option may be unsecure.

If you upload this file to /usr/libexec/webmin/bin you will be able to change Webmin user password as:

webmin passwd username

Note: For now it’s recommended to backup /etc/webmin/miniserv.users file before running this script.

This API will be available with upcoming Webmin 1.974.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.