postwwwacct - disable ftp account after creation

jarecki74

Active Member
Oct 10, 2010
33
1
58
Hi

or can someone help me with something

i have package called email_account

I would like to

in postwwwacct

if package name is email_account after account creation rename the /etc/proftpd/ accountname to /etc/proftpd/ accountname.disabled

its possible ?

regards
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Yes, post account creation is a hookable event. You can find standardized hook documentation at:

Standardized Hooks

The specific create account hookable event is documented at:

Accounts::Create

Thank you.