PDA

View Full Version : Automated Script



dukemaster
07-07-2004, 06:44 PM
Is it possible to have DirectAdmin run a script, or perform a command when we add a user to Direct Admin?

We would like it to automatically install some customized software to every user account that is created. This would involve installing files into the HTML directory, adding some base records to SQL, and installing a crontab script.

l0rdphi1
07-07-2004, 08:09 PM
Hello,

/usr/local/directadmin/scripts/custom/user_create_post.sh

is run after a new DA user is added.

See /usr/local/directadmin/scripts/custom/README for details on other such scripts. :)

Phi1.