Skip to main content

how to create account via ssh?

Comments

11 comments

  • 24x7ss
    Hi, Yes, it is possible to create a cPanel account using Command line. You just need use command as below: /scripts/wwwacct and add correct syntax in front of the command root@server [~]# /scripts/wwwacct Please use the following syntax: wwwacct
    0
  • cPanelMichael
    Hello, Yes, as mentioned in the previous post, you can use /scripts/wwwacct to create accounts directly through the command line (assuming you don't want to use API). Thank you.
    0
  • esultanzada
    could you please clear it with live example, because some of them i dont know.
    0
  • cPanelMichael
    could you please clear it with live example, because some of them i dont know.

    I did a quick search of "wwwacct" on our forums and found several results. Here is one thread you may find helpful:
    0
  • esultanzada
    I did a quick search of "wwwacct" on our forums and found several results. Here is one thread you may find helpful:
    0
  • cPanelMichael
    The following example works well for me on a test server:
    /scripts/wwwacct domain.com username password 0 x3 n n n 0 0 0 0 0 0
    Feel free to open a support ticket if this is not working so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • Adam S.
    What do the fields that you do not specify get set to?
    0
  • cPanelMichael
    What do the fields that you do not specify get set to?

    It uses the same default settings that you see in the interface when selecting "Select Options Manually" via "WHM Home " Account Functions " Create a New Account". Thank you.
    0
  • esultanzada
    What do the fields that you do not specify get set to?

    just i didn't specify x3 in my command.
    0
  • esultanzada
    The following example works well for me on a test server:
    /scripts/wwwacct domain.com username password 0 x3 n n n 0 0 0 0 0 0
    Feel free to open a support ticket if this is not working so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.

    Thanks, this works for me:
    /scripts/wwwacct domain.com username password 0 x3 n n n 0 0 0 0 0 0
    0
  • cPanelPeter cPanel Staff
    Hello, Glad it worked for you. Thank you for updating this thread with the outcome.
    0

Please sign in to leave a comment.