- Add –skip-add-locks(–skip-lock-tables) to your mysqldump command
-
For automysqlbackup on Debian:
Edit the automysqlbackup executable.
Modify the function dbdump.
Add the –skip-lock-tables.
“ERRORS REPORTED: mysqldump: Got error: 1142: SELECT,LOCK TABL command denied to user ‘root’@’localhost’ for table ‘cond_instances’ when using LOCK TABL”Continue reading
Category: ANY
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
Protected: GRUB/GRUB2: Полный доступ к системе. GRUB/GRUB2: Full access to system.
Protected: Подключение к VM proxmox с помощью внешнего клиента VNC / Connect to VM proxmox with help external client VNC
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