How to change password for the default "admin" user in Kaui

1,034 views
Skip to first unread message

Majeed Ghadialy

unread,
Apr 3, 2018, 2:49:44 PM4/3/18
to Kill Bill users mailing-list
I'm trying to change the password on the default admin user in Kaui and it keeps returning back with the following error: "Error: undefined method `split' for nil:NilClass". I'm trying to do it from Gear icons > Users > admin > Edit.

Thanks for your help.

Pierre-Alexandre Meyer

unread,
Apr 6, 2018, 3:17:21 AM4/6/18
to Majeed Ghadialy, Kill Bill users mailing-list
Hi Majeed,

The default admin user is defined in the shiro.ini file on the server: Kaui cannot update it. You need to provide Kill Bill with your own shiro.ini file to change that password (KILLBILL_SHIRO_RESOURCE_PATH Docker variable or org.killbill.security.shiroResourcePath System Property).

I've updated our documentation to reflect this, see http://docs.killbill.io/latest/user_management.html.

I've also created https://github.com/killbill/killbill-admin-ui/issues/166 to make this clearer in Kaui.

Best regards,

On Tue, Apr 3, 2018 at 7:49 PM, Majeed Ghadialy <maj...@textellent.com> wrote:
I'm trying to change the password on the default admin user in Kaui and it keeps returning back with the following error: "Error: undefined method `split' for nil:NilClass". I'm trying to do it from Gear icons > Users > admin > Edit.

Thanks for your help.

--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-users+unsubscribe@googlegroups.com.
To post to this group, send email to killbilling-users@googlegroups.com.
Visit this group at https://groups.google.com/group/killbilling-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/1f341757-fe57-4b58-8bfd-b4199a5b1205%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Pierre

Majeed Ghadialy

unread,
Apr 9, 2018, 11:50:54 PM4/9/18
to Pierre-Alexandre Meyer, Kill Bill users mailing-list
Thanks Pierre.

Majeed Ghadialy
Textellent, Inc.
Text Marketing Leader for Accounting & Service Professionals!
US Patent 9,756,487

www.textellent.com
2300 Valley View Lane, Suite 505
Irving, TX 75062
Main: (972) 200-7250 x302
Fax: (972) 200-7251








Denis Debacker

unread,
Aug 16, 2020, 7:52:06 AM8/16/20
to Kill Bill users mailing-list
Hi 

I've tried editing the shiro.ini file, but I can still log in with the old password, it is not entirely clear to me how to change the admin password.
Also for the docker env variable I assume we can fill in the absolute path in KILLBILL_SHIRO_RESOURCE_PATH ?

Kind regards

On Friday, 6 April 2018 at 09:17:21 UTC+2 Pierre-Alexandre Meyer wrote:
Hi Majeed,

The default admin user is defined in the shiro.ini file on the server: Kaui cannot update it. You need to provide Kill Bill with your own shiro.ini file to change that password (KILLBILL_SHIRO_RESOURCE_PATH Docker variable or org.killbill.security.shiroResourcePath System Property).

I've updated our documentation to reflect this, see http://docs.killbill.io/latest/user_management.html.

I've also created https://github.com/killbill/killbill-admin-ui/issues/166 to make this clearer in Kaui.

Best regards,

On Tue, Apr 3, 2018 at 7:49 PM, Majeed Ghadialy <maj...@textellent.com> wrote:
I'm trying to change the password on the default admin user in Kaui and it keeps returning back with the following error: "Error: undefined method `split' for nil:NilClass". I'm trying to do it from Gear icons > Users > admin > Edit.

Thanks for your help.

--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To post to this group, send email to killbill...@googlegroups.com.



--
Pierre

Denis Debacker

unread,
Aug 16, 2020, 8:19:11 AM8/16/20
to Kill Bill users mailing-list
Ok, got it now, the env variable changed. For anyone else stumbling on this thread:

The docker env variable is now KILLBILL_SECURITY_SHIRO_RESOURCE_PATH. And looks like this when used: KILLBILL_SECURITY_SHIRO_RESOURCE_PATH=file:/var/tmp/shiro.ini
I copied the shiro file from /var/lib/tomcat/webapps/ROOT/WEB-INF/classes/shiro.ini in the docker image.
In this file you can find the users and roles and under [users] adjusted it like so and left the rest as is:

[users]
admin = adminpassword, root

This user config has the following format: {username} = {password}, {role}  

Maybe these steps can be added in the documentation? Stuff like this is super important to be changed after the first login!

Pierre-Alexandre Meyer

unread,
Aug 17, 2020, 2:45:52 AM8/17/20
to Denis Debacker, Kill Bill users mailing-list
Hi Denis,

On Sun, Aug 16, 2020 at 1:19 PM Denis Debacker <con...@machtig.be> wrote:
Maybe these steps can be added in the documentation? Stuff like this is super important to be changed after the first login!


If you think something is missing, feel free to open a PR (https://github.com/killbill/killbill-docs). 

Kind regards,

--
Pierre

Denis Debacker

unread,
Aug 17, 2020, 3:01:30 AM8/17/20
to Kill Bill users mailing-list
Hi Pierre

I did not, thanks for letting me know, I must have screwed up the order in which to follow the docs.
Thanks!

Kind regards

Janne Kalliokulju

unread,
Sep 18, 2020, 4:20:51 AM9/18/20
to Kill Bill users mailing-list
Hi Denis,

Did you set up your environment locally or on cloud somewhere? If on cloud, which one was it and did you have there any problems with setting the location of the shiro.ini file outside of the docker container. Just being curious. 

Reply all
Reply to author
Forward
0 new messages