cPanel & WHM Version 114 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Accounts::Create Hook should pass homedir location (-home, -home2, etc)

ehask71 shared this idea 10 years ago
Completed

This would help developers and not require us to parse the user files for the homedir when it is already available to Accounts::Create (sent via email )+===================================+| New Account Info |+===================================+| Domain: bogusdomain.com| Ip: 65.xx.xx.xx (n)| HasCgi: y| UserName: carwash| PassWord: ***HIDDEN***| CpanelMod: x3| HomeRoot: /home2


postwwwacct used to pass this value but I migrated to hooks


http://forums.cpanel.net/f42/accounts-create-post-hook-homedir-307332.html

Best Answer
photo

homedir and homeroot are added to the data passed to the Accounts::Create hooks. This will be delivered in cPanel & WHM 11.40.

Replies (2)

photo
1

homedir and homeroot are added to the data passed to the Accounts::Create hooks. This will be delivered in cPanel & WHM 11.40.

photo
1

Thanks for the update Ken

Replies have been locked on this page!