Adds PAM authorization to Redmine
Adds PAM authorization to Redmine. Requires rpam
gem and group shadow
to by added to redmine user.
Plugin requires that the user which runs the Redmine application, had a
shadow
group. It is necessary that the user can use the PAM auth
mechanism.
Before installing make sure to stop redmine.
cd [redmine-install-dir]/plugins
export RAILS_ENV=production
git clone git://github.com/cardil/redmine-pam-auth.git redmine_pam_auth
cd ..
rake redmine:plugins:migrate
bundle install --without development test
After this steps you can switch back on redmine. Existing users will gain PAM auth method (Look at Administration > Users).
Before installing make sure to stop redmine and before that to disable PAM auth method for all users (Look at Administration > Users)
cd [redmine-install-dir]
export RAILS_ENV=production
rake redmine:plugins:migrate NAME=redmine_pam_auth VERSION=0
rm -Rf plugins/redmine_pam_auth
After this steps you can switch back on redmine.