New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset admin password #28

Closed
saji89 opened this Issue Dec 12, 2013 · 18 comments

Comments

8 participants
@saji89
Copy link

saji89 commented Dec 12, 2013

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

@RainLoop

This comment has been minimized.

Copy link
Owner

RainLoop commented Dec 12, 2013

Admin Panel / Secuity

ap

@saji89

This comment has been minimized.

Copy link

saji89 commented Dec 12, 2013

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

@RainLoop

This comment has been minimized.

Copy link
Owner

RainLoop commented Dec 12, 2013

You can change the settings in the configuration file:

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

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

@saji89

This comment has been minimized.

Copy link

saji89 commented Dec 12, 2013

Thankyou

@saji89 saji89 closed this Dec 12, 2013

@dvbmgr

This comment has been minimized.

Copy link
Contributor

dvbmgr commented Dec 13, 2013

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

@RainLoop

This comment has been minimized.

Copy link
Owner

RainLoop commented Dec 13, 2013

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

@dvbmgr

This comment has been minimized.

Copy link
Contributor

dvbmgr commented Dec 13, 2013

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

@SAROEURN-Ritha

This comment has been minimized.

Copy link

SAROEURN-Ritha commented Dec 19, 2014

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?

@RainLoop

This comment has been minimized.

Copy link
Owner

RainLoop commented Dec 19, 2014

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

[security]
admin_password = "xxxxx"
@ordinaryegi

This comment has been minimized.

Copy link

ordinaryegi commented Feb 7, 2015

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

@RainLoop

This comment has been minimized.

Copy link
Owner

RainLoop commented Feb 7, 2015

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.

@scith

This comment has been minimized.

Copy link

scith commented Oct 7, 2015

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

@RainLoop

This comment has been minimized.

Copy link
Owner

RainLoop commented Oct 7, 2015

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';

?>
@scith

This comment has been minimized.

Copy link

scith commented Oct 11, 2015

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

Thanks

@fabricetriboix

This comment has been minimized.

Copy link

fabricetriboix commented Oct 21, 2016

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!

@fabricetriboix

This comment has been minimized.

Copy link

fabricetriboix commented Oct 22, 2016

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.

@JimmyKater

This comment has been minimized.

Copy link

JimmyKater commented Aug 24, 2017

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 :(

@JimmyKater

This comment has been minimized.

Copy link

JimmyKater commented Aug 24, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment