https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39676

            Bug ID: 39676
           Summary: koha-reset-passwd fails
 Change sponsored?: ---
           Product: Koha
           Version: 22.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Hello! I discovered today that using the command koha-reset-passwd fails on
Koha 22.11.25 with the following error:

env: ‘/bin/admin/set_password.pl’: No such file or directory

The command was run as indicated in --help:

sudo koha-reset-passwd instancename userid

Directly running the underlying script succeeds: 

sudo koha-shell -c '/usr/share/koha/bin/admin/set_password.pl --userid userid'
instancename

In this particular case, the userid takes the form of an email address, and I
thought perhaps the '@' symbol may have been problematic, but the command also
fails for a userid that follows the default pattern of firstname.surname.

Am I doing something wrong, or is there a bug in the command?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to