Rainloop-webmail: Reset admin password

Created on 12 Dec 2013  Â·  22Comments  Â·  Source: RainLoop/rainloop-webmail

How can I reset or set a new password for admin user?

question

Most helpful comment

You can change the settings in the configuration file:

rainloop/data/_data_xxxx/_default_/configs/application.ini

[security]
admin_login = "admin"
admin_password = "12345"

All 22 comments

Admin Panel / Secuity

ap

How can I access the admin panel, without the admin password?

You can change the settings in the configuration file:

rainloop/data/_data_xxxx/_default_/configs/application.ini

[security]
admin_login = "admin"
admin_password = "12345"

Thankyou

’think it would be a good idea to hash the password… (in any cases)

RainLoop hash the password when you change it in the admin panel

Yes, it does. But it also allows to keep this password unhashed… and I may not be the best idea you could have.

Hello All,
after i change password in the admin panel it still can not access in to the rainloop. who have any solution to reset password rainloop?

You can do it manually in ./data/.../application.ini.

[security]
admin_password = "xxxxx"

hello
i'd change admin password rainloop at application.ini, but i'm still can't login to admin panel, any solution?

The password must be hashed.
There is only one exception (password = 12345).

Try to set admin_password = "12345" and go to Admin panel to change it to something new.

Hello, how can I hash the password before inputting it in the _application.ini_ file please?
Is it possible to do this via command line? (or changing the password via command line) Or API?

Thanks

You may use RainLoop PHP API:

<?php

$_ENV['RAINLOOP_INCLUDE_AS_API'] = true;
include '<path-to-rainloop-folder>/index.php';

$oConfig = \RainLoop\Api::Config();
$oConfig->SetPassword('pa$$wOrd');
echo $oConfig->Save() ? 'Done' : 'Error';

?>

Thanks it works great! Is this API documented somewhere please?
In particular, is it possible to modify other Config parameters using this technique?

Thanks

Hi,

I am in the same situation. I tried modifying application.ini directly, or use the PHP code snippet, in both cases the web page says "authentication failed"...
I found a "logs" directory somewhere under the "data" directory, but it is empty. Apache logs do not tell anything useful...

What is going wrong here?

Thanks a lot for your help!

OK, for those who are have the same problem, please make sure the URL you enter ends with "?admin". Otherwise, logging as admin will fail, even with the correct password.

errr...
as i am still a beginner with all of this i can't follow all advices here.
i am running raincloud as an app (5.0.1) in nextcloud (12.0.2). apparently i have installed it sometime earlier, once and set a password there (for admin user) which i completely forgot about.
so now i try to login with admin:12345 (as it ist still set in application.ini) but that doesn't work. "authentification wrong".
what do i need to do to (more or less step by step) to be able to log in... either with default password or with a new (and hashed) one

sorry for asking these newbie questions as for all others it seem to be clear what to do from the hints above :(

ha!
using https://mydomain.tld/index.php/apps/rainloop/app/?admin did the trick!
i manually changed the address directly in my browser and then i could sucessfully enter the standards

You may use RainLoop PHP API:

<?php

$_ENV['RAINLOOP_INCLUDE_AS_API'] = true;
include '<path-to-rainloop-folder>/index.php';

$oConfig = \RainLoop\Api::Config();
$oConfig->SetPassword('pa$$wOrd');
echo $oConfig->Save() ? 'Done' : 'Error';

?>

Hi, I am trying this on a nextcloud installation but it does change the password in the wrong configuration file and using a different salt:

/var/www/nextcloud/apps/rainloop/app/data/_data_/_default_/configs/application.ini

in place of

/var/www/nextcloud/data/rainloop-storage/_data_/_default_/configs/application.ini

This application really need a FAQ page to explain users how to access admin rainloop page from nextcloud app. Do not deny it because the information changed many times and this definitely show it required a FAQ page to be more serious and respect users time.
Thank you for help users to access the admin page the easy way...

/var/www/html/rainloop/data/_data_/_default_/configs

Guys, stupid thing, but if you think you entering valid password and doesn't work, remember it won't work on standard login page, you have to login by address: https://yourdomain.tld/?admin

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wngroves picture wngroves  Â·  5Comments

eminphi picture eminphi  Â·  5Comments

linkjay picture linkjay  Â·  4Comments

mpietruschka picture mpietruschka  Â·  4Comments

rpadovani picture rpadovani  Â·  4Comments