Redmine: Сброс пароля администратора в базе данных / Redmine: reset the administrator password in the database

Если потерялся пароль администратора от системы управления проектами Redmine. То есть возможность его сбросить через базу данных.

Т.к. у меня Redmine работает на базе данных mysql, то и процедуру буду описывать для нее. Для других баз данных процедура аналогичная, но со спецификой присущей каждой базе.
Все пользователи Redmine хранятся в базе данных в таблице users. Пароль формируется следующим принципом SHA1(SHA1+соль).

“Redmine: Сброс пароля администратора в базе данных / Redmine: reset the administrator password in the database”Continue reading

How to set up SFTP with ChrootDirectory on Linux.

If you want the default directory that users start in to be writable then you must create their home directory under the chroot. Else you can get errors type of:

Nov ** 12:35:00 sftp-server sshd[10267]: Accepted password for user
from localhost port 39150 ssh2
Nov ** 12:35:00 sftp-server sshd[10269]: fatal: bad ownership or modes
for chroot directory "/home/user01" 

After sshd has chrooted to the ChrootDirectory, it will chdir to the home directory as normal. So, for a passwd line like:

“How to set up SFTP with ChrootDirectory on Linux.”Continue reading

Scroll to top