The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

postwwwacct - disable ftp account after creation

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

  1. jarecki74

    jarecki74 Member

    Joined:
    Oct 10, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
  3. jarecki74

    jarecki74 Member

    Joined:
    Oct 10, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    please howto ?

    i have no experience with programing cp
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
Loading...

Share This Page