Croogo Password Reset

227 views
Skip to first unread message

Jamie G

unread,
Aug 19, 2014, 7:23:13 AM8/19/14
to cro...@googlegroups.com
Hi there, I am completely new to the Croogo CMS so help would be much appreciated! :) 

Essentially, I am trying to update a website for a company I have recently started working for however an ex-employee of the company changed the password that we used to access the 'admin' area of the site, which although I did not build do believe it was based on Croogo. I was not able to reset the password using the forgot password function, so I then turned to phpMyAdmin as I would do for something similar such as Wordpress. I attempted to change the password which I saw was hashed--it first looked like an SHA1 but I was unable to decrypt the existing password so I knew this was not the case. I was just wondering how and whether it would be possible to reset the password using phpMyAdmin, or the other components that make up the site. Any help would be appreciated!

Derek Stearns

unread,
Aug 19, 2014, 7:40:07 AM8/19/14
to cro...@googlegroups.com
Create a new user and give them an admin role of 1 in phpmyadmin.  Then login with new credentials.


On Tue, Aug 19, 2014 at 6:23 AM, Jamie G <teki...@gmail.com> wrote:
Hi there, I am completely new to the Croogo CMS so help would be much appreciated! :) 

Essentially, I am trying to update a website for a company I have recently started working for however an ex-employee of the company changed the password that we used to access the 'admin' area of the site, which although I did not build do believe it was based on Croogo. I was not able to reset the password using the forgot password function, so I then turned to phpMyAdmin as I would do for something similar such as Wordpress. I attempted to change the password which I saw was hashed--it first looked like an SHA1 but I was unable to decrypt the existing password so I knew this was not the case. I was just wondering how and whether it would be possible to reset the password using phpMyAdmin, or the other components that make up the site. Any help would be appreciated!

--
--
You received this message because you are subscribed to the Croogo mailing list.
To post to this group, send email to cro...@googlegroups.com
To unsubscribe from this group, send email to
croogo+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/croogo?hl=en
Visit the official website at http://www.croogo.org

---
You received this message because you are subscribed to the Google Groups "Croogo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to croogo+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jamie G

unread,
Aug 19, 2014, 8:51:29 AM8/19/14
to cro...@googlegroups.com
I am creating a new user, however in the table there is an 'activation_key' field (not sure if this is a standard field or not)- I am not sure what to enter for this. For the password field, am I leaving the function blank? Thanks.

Rachman Chavik

unread,
Aug 19, 2014, 10:00:25 AM8/19/14
to cro...@googlegroups.com
If you have access to the console, you can reset it using the following command:

Console/cake Users.users reset <username> <newpassword>

The password value is hashed according to the default CakePHP's password hashing
configured mechanism. It uses the salt value specified in Config/croogo.php.

For details see CakePHP's AuthComponent::password() documentation.

Derek Stearns

unread,
Aug 19, 2014, 10:01:41 AM8/19/14
to cro...@googlegroups.com
You should not be entering a activation key. 

Use the GUI at your-domain.com/users/users/add to create the new user. This will correctly encrypt your password field. Then edit the user role in phpmyadmin. Do not add your user through phpmyadmin.

Sent from my iPhone
--

Jamie G

unread,
Aug 19, 2014, 5:08:27 PM8/19/14
to cro...@googlegroups.com
Thanks for your reply. I'm not entirely sure which console you mean. I can access the phpMyAdmin console so anything from there I can change. I also have access to the site's FTP. If you would know the links for how I would be able to access the Cake console would I be able to reset?

Jamie G

unread,
Aug 19, 2014, 5:09:41 PM8/19/14
to cro...@googlegroups.com
Thanks for getting back to me. When I go to that address, the site prompts me to log in yet the issue I have is the admin password has been changed and I am unable to log into the site in order to add a new user!

Derek Stearns

unread,
Aug 20, 2014, 8:05:30 AM8/20/14
to cro...@googlegroups.com
The console referred to is a bit complicated to set up if you don't have admin rights or have the ability to SSH.

Go to your users controller depending on your version it will be in:

App/plugin/users/users
Or 
App/vendor/users/users

$this->Auth->allow('*');

You should be able to see the add a new user page then.

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages