newCMD_API_DB_USER create and modify
API for user create and modify.
return list of users.
CMD_API_DB_USER action=create name=db_name user=bob passwd=pass passwd2=pass
CMD_API_DB_USER action=modify name=db_name user=user_bob passwd=pass passwd2=pass
CMD_API_DB_USER action=delete name=db_name select0=user_bob (select1=user_fred .. etc)
Database delete can be found here:
newglobal USERLANG token
Global token for the user language. Take from the user.conf, language=en.
newAdded number of free IP's to Reseller Stats (self view)
Easy reference to see how many free IP's a Reseller has. Reseller Level -> Reseller Stats. "# of free IPs".
Also added |FREEIPS| token to the create reseller page, so admins can quickly see if they have enough, before creating the reseller.
only returns that status of the programs listed in the /usr/local/directadmin/data/admin/services.status file. (ignores the on/off in that file, it just uses the name).
Admin level command.
newChange main ftp account password with DA password
Change main ftp account password with DA password. This will keep the 2 passwords in sync. Ability to change the ftp password independently will remain, so the user can still use a different ftp password if he/she wishes. If they want to do that and they change their DA pass, then they'll need to reset the ftp password to the different value.
fixedMake all templates work from the custom folder
Get all templates to work from the /usr/local/directadmin/data/templates/custom directory:
list.config logs.list mail_settings.html outlook_setup.reg user_prefs webalizer.conf login.html message_user.txt message_tech.txt user_limit.txt reseller_limit.txt conf.sysbk dns_a.conf dns_cname.conf dns_mx.conf dns_ns.conf email_pass_change/custom filter_delete filter_spamfolder majordomo.cf named.db proftpd.vhosts.conf zone.conf
are now all confirmed. (most already worked)
fixedPORT token on resend welcome email
PORT token added to the resend welcome email tokenizer.
fixedRestore domain pointers/crons and cust_httpd
Restore domain pointers/crons in restore done by Reseller.
The cust_httpd will be restored only if a Reseller/Admin account is doing the restore (so a User can't add his own customizations into the httpd.conf)
fixedbackup system restore
Doesn't restore public_html files. Found to be a strange file descriptor issue. Added 2>&1 to the end of the tar command and closed the stderr socket, using the stdout instead.
Short term workaround (until release):
Edit /etc/cron.d/directadmin_cron (/etc/crontab on freebsd) and change:
* * * * * root /usr/local/directadmin/dataskq
* * * * * root /usr/local/directadmin/dataskq d >/dev/null
then reload crond.
fixedpackage doesn't show cron option
in show_user_package.html, enhanced skin is the only affected skin.