Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

postwwwacct - disable ftp account after creation

Discussion in 'General Discussion' started by jarecki74, Aug 9, 2013.

  1. jarecki74

    jarecki74 Active Member

    Joined:
    Oct 10, 2010
    Messages:
    33
    Likes Received:
    1
    Trophy Points:
    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
     
    #1 jarecki74, Aug 9, 2013
    Last edited: Aug 9, 2013
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,714
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jarecki74

    jarecki74 Active Member

    Joined:
    Oct 10, 2010
    Messages:
    33
    Likes Received:
    1
    Trophy Points:
    58
    please howto ?

    i have no experience with programing cp
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,714
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    While we are happy to point you in the right direction for documentation, you may want to consult with a developer from our application catalog if you need a custom script developed for you:

    cPanel Application Catalog - Development Services

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice