[Koha] reset admin password

Eric Lease Morgan eric_morgan at infomotions.com
Tue Jan 13 08:34:48 NZDT 2026



On Jan 12, 2026, at 2:01 PM, David Nind <david at davidnind.com> wrote:

>> How do I reset Koha's admin password so I can log into the Web-based administrative interface?
> 
> You can use this script:
> 
> - misc/devel/create_superlibrarian.pl --help
> 
> I think the options would be something like create_superlibrarian.pl --userid <your_username> --password <your_new_password> --branchcode <your_library_code> --categorycode <your_patron_category>
> 
> We should really add this to our documentation!
> 
> --
> David Nind
> New Zealand


Thank you for the prompt reply, but alas, the create_superlibrarian.pl seems to require all of options:

Usage:
    create_superlibrarian.pl --userid <userid> --password <password>
    --branchcode <branchcode> --categorycode <categorycode> --cardnumber
    <cardnumber>

     Options:
       -?|--help        brief help message
       --userid         specify the userid to be set
       --password       specify the password to be set
       --branchcode     specify the library code
       --categorycode   specify the patron category code
       --cardnumber     specify the cardnumber to be set


And I do not know of any values for --categorycode nor --cardnumber. 'Got any suggestions?

--
Eric Morgan




More information about the Koha mailing list