|
do you have control of the entire server? if not, i doubt you can do it.
if you do, then you need to determine what cpanel is doing when it adds a new account. i'm not familiare with pureftpd, but a place to start might be to look at the configs for it in /etc/
at this point, it's more of a pureftpd configuration or cpanel question. once you find out how to do it, then you can employ PHP to either execute a shell script or modify files itself. you have to make sure it's not going to interfear with the logic cpanel uses to manage ftp accounts. by that, i mean that if you create an account with your own interface, make sure cpanel shows it as well. this way you won't end up with rouge ftp accounts anywhere.
sorry i can't be much help on this one.
|