Project

General

Profile

Lost admin password redmine

Added by Ahmed Khairy over 10 years ago

dear all,

how can i reset admin password for redmine if i lost it my redmine installed on win 2008 R2 and the version of redmine: 2.3.1.stable.

thanks for help


Replies (3)

RE: Lost admin password redmine - Added by Martin Denizet (redmine.org team member) over 10 years ago

Hello Ahmed,

You can do:

RAILS_ENV=production script/runner 'user = User.find(:first, :conditions => {:admin => true}) ; user.password, user.password_confirmation = "my_password"; user.save!'

See more here

Cheers,

RE: Lost admin password redmine - Added by Ahmed Khairy over 10 years ago

thanks martin for your replay. but what is the path that i should execute this command???

RE: Lost admin password redmine - Added by Marco Gutsche over 10 years ago

Ahmed Khairy wrote:

thanks martin for your replay. but what is the path that i should execute this command???

Normally in your redmine root folder.

    (1-3/3)