First of all I hope I have written in the right section, sorry if I'm wrong.
I need to change the username for a client and I have followed this guide:
http://help.directadmin.com/item.php?id=193
However, given the errors I think there are problems in the script, also the change does not work, report below the result.
I replaced the username and the domain name for security reasons.
What should I do? It could be my problem? I have to send an email to the staff of directadmin to report the problem or they respond here on the forum?
Thanks
Michele
I need to change the username for a client and I have followed this guide:
http://help.directadmin.com/item.php?id=193
However, given the errors I think there are problems in the script, also the change does not work, report below the result.
I replaced the username and the domain name for security reasons.
Code:
[root@server scripts]# ./change_username.sh oldname newname
groupmod: group 'oldname' does not exist
Can't open /etc/virtual/domain.com/majordomo/list.aliases: No such file or directory.
Can't open /etc/virtual/domain.com/majordomo/private.aliases: No such file or directory.
PHP Deprecated: Function mysql_list_dbs() is deprecated in /usr/local/directadmin/scripts/change_database_username.php on line 71
PHP Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in /usr/local/directadmin/scripts/change_database_username.php on line 71
Starting MySQL.. [ OK ]
Can't open /home/newname/domains/*/awstats/awstats.pl: No such file or directory.
[root@server1 scripts]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: AH00543: httpd: bad user name oldname
What should I do? It could be my problem? I have to send an email to the staff of directadmin to report the problem or they respond here on the forum?
Thanks
Michele