redmine 관리자 암호 설정 방법.
bitnami로 설치했으며, redmine버전은 2.5.1이다.
1. redmine 설치 폴더로 이동.
2. 환경변수를 설정한다.
source scripts/setenv.sh
3. apps/redmine/htdocs로 이동.
4. 관리자 id를 확인한다.
script/rails runner -e production 'puts User.find(:first, :conditions => {:admin => true}).name'
5. 관리자 암호를 설정한다.
script/rails runner -e production 'user = User.find(:first, :conditions => {:admin => true}) ; user.password, user.password_confirmation = "your_password"; user.save!'
끝.
'Linux' 카테고리의 다른 글
SSH 연결 유지 (0) | 2016.01.11 |
---|---|
우분투 리눅스 WIFI 설정 추가 (0) | 2016.01.08 |
Finding a process that is using specific network port (0) | 2014.10.27 |
/lib/ld-linux.so.2: bad ELF interpreter: No such 블라블라 (0) | 2014.03.26 |
Fedora 20 - tftp server 설치 하기 (0) | 2014.03.26 |