evolution newAbility to import cPanel users from remote server over SSH
There is new tool in
Admin Tools and
Reseller Tools that allows importing users from remote cPanel server over SSH.
Remote server root SSH credentials are required to perform the import.
This tool works by peforming the following steps:
- Create cPanel user backup on the remote server.
- Download backup to
cpanel_to_da.shscript to convert backup to DA compatible backup.
- Restore DA compatible backup and clean up temporary files.
This feature is available on the admin level and on reseller level. Admin can import resellers and normal users. When reseller imports another reseller it get converted to a normal user.
Note: All imported users will be owned by the user that performed the import. If main admin account imports all users and resellers from remote cPanel server he will end up owning all the users, while imported resellers will own no users at all.
Do not disrupt
dataskq tasks when restarting directadmin service improved
Restarting main directadmin service while
dataskq is running processing the tasks used to kill the task processor (and restart later).
With this release restarting
directadmin service will not impact
use_cookie_expires used to control if cookies are set with expire time or not. By default this option was enabled. Starting this release using expire time in cookies can no longer be controlled in the
New server behaviour will be:
- Do not use expire time for session cookie. This means closing the browser will always terminate DA session.
- Set expire time for OTP "remember device" cookie. No change in default behaviour. On systems with
use_cookie_expires=0OTP "remember device" functionality was not available.
conf/my.cnf will now inherit
/usr/local/directadmin/conf/mysql.conf is DirectAdmin's global MySQL configuration file, used for user, pass, host, port, remote access host defaults, etc. The related
conf/my.cnf used to only contain the user and password, but not the host+port. The host value was passed on all CLI calls (eg: mysqldump), in the even it was set, but the port was not. The 4 values (user/passwords/host/port) will now all be unified in the
conf/my.cnf making things simpler for all systems that use this file. For now, the host value will still be passed on the command-line, but will be dropped at a later date, relying on the contents of the my.cnf. Upon updating DirectAdmin, the
conf/my.cnf will be rewritten (via
"action=syscheck" task.queue call), else all DirectAdmin calls to mysqldump internally will always rewrite this file.
improvedCMD_CHANGE_EMAIL_PASSWORD / CMD_CHANGE_FTP_PASSWORD to return HTTP code 200 instead of 500 on errors
Errors when using json with the email/ftp password change system used to return code
500 errors. This was a bit overkill, so errors will now return code
200, and the
error text will still be set. Affects:
CMD_CHANGE_EMAIL_PASSWORD, CMD_API_CHANGE_EMAIL_PASSWORD, CMD_CHANGE_FTP_PASSWORD, CMD_API_CHANGE_FTP_PASSWORD