Thursday, March 17, 2011

reset redmine password throught the commmand line

Copied and pasted form http://bitnami.org/forums/forums/redmine/topics/lost-redmine-adminstrator-password

$ cd ${installdir}
$ ./use_redmine
$ cd ${installdir}/apps/redmine
$ ruby script/console production

>> u = User.first
>> u.password = u.password_confirmation = "newpassword"
>> u.save
>> exit