User Account Defualts?

TF-Host

Verified User
Joined
May 3, 2008
Messages
5
Hello...

I was wondering it all is it possible to change the defualt accounts when created? So instead of it creating like 1 ftp, 1 email address named after the username created

id want it to make

2ftps, 1 defualt mysql database, 2 email address, plus some other defual webpage files rather than the 5 html files and logo

thanks
 
Last edited:
You could probably do this using the domain_create_post.sh and user_create_post.sh scripts. I do not know the specifics of how to do what you're asking though. But, that might be a start in the right direction.
 
You can do it with the post script but you probably also need to use the api with the post script. If you can get the api to add the things you need then you can get the post script to do it.

Default files are found in /usr/local/directadmin/data/templates/default
 
TF-Host, did you end up figuring this out? If so, would you mind sharing your user_create_post.sh, I'm also trying to automatically create a database when I create an account. Thanks!
 
Back
Top