If you run Elgg where the "Lost password" feature fails (e.g. localhost with no mail-sending abililty), you may need to break into the system.
Here are a couple options to do that.
The first script only works for N seconds after it's been touch()ed on the server, and requires you to enter info from the users DB table. This might be considered the "safer" of the two because it automatically disables itself, and requires secret info even while enabled.
The second script just auto-logs you in as the first admin on the system. You must disable this after use!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.