How to create account using SSH in cpanel

putty-connected

Login to server via SSH.

Use cpanel create account script.

Syntax:

/scripts/createacct domainname.com username password

Example:

/scripts/createacct cheapbesthost.com cheapbest q1w2e3r4t5

It will prompt for ok? Press y

The above information is enough to create a temporary cpanel account. It will show the below output.

    +===================================+
| New Account Info |
+===================================+
| Domain: cheapbesthost.com
| UserName: cheapbest
| PassWord: q1w2e3r4t5
+===================================+

This ok? y
Checking input data……Done
WWWAcct 12.5.0 (c) 2012 cPanel, Inc…….Done
Running pre creation script (/usr/local/cpanel/scripts/prewwwacct)……Done
Adding User…Creating mailbox file: File exists
…Done
Adding Entries to httpd.conf……Done
Setting up Mail & Local Domains……Done
Configuring DNS……Done
Restarting apache……Done
Updating Authentication Databases……Done
Verifying MX Records and Setting up Databases……Done
Setting up Proxy Subdomains……Done
Sending Account Information……Done
Running post creation scripts (/usr/local/cpanel/scripts/legacypostwwwacct, /usr/local/cpanel/scripts/postwwwacct, /usr/local/cpanel/scripts/postwwwacctuser)……Done
Setting up Domain Pointers……Done
Setting Reseller Privs……Done
Account Creation Complete!!!……Done
Account Creation Ok
System has 2 free ips.
Dns Zone check is enabled.
+===================================+
| New Account Info |
+===================================+
| Domain: cheapbesthost.com
| Ip: your server ip (n)
| HasCgi: y
| UserName: cheapbest
| PassWord: q1w2e3r4t5
| CpanelMod: x3
| HomeRoot: /home
| Quota: 0 Meg
| NameServer1: ns1.com
| NameServer2: ns2.com
| NameServer3:
| NameServer4:
| Contact Email:
| Package: default
| Feature List: default
| Language: en
+===================================+
Adding Shell Access (y)
Successlocaldomains…valiases …vdomainaliases…vfilters…Bind reconfiguring on testserver using rndc
Zone cheapbesthost.com has been successfully added
Password for cheapbest has been changed
Updating ftp passwords for cheapbest
Ftp password files updated.
Ftp vhost passwords synced
Reconfiguring Mail Routing:
LOCAL MAIL EXCHANGER: This server will serve as a primary mail exchanger for cheapbesthost.com’s mail.:
This configuration has been manually selected.

Bind reloading on testserver using rndc zone: [cheapbesthost.com]
System has 2 free ips.
wwwacct creation finished
Account Creation Ok

How to create account using SSH in cpanel
Written by: AFRIDA YANTI
Reting: 4.9


Cheap Best Hosting is a leading provider of web hosting, shared hosting, resellers hosting, virtual private servers, vps hosting, dedicated servers and domain name registration.


Follow me on Google+ | Twitter | Facebook | Linkedin | YouTube

Share This Post

Recent Articles

Leave a Reply

© 2017 Cheap Best Hosting Blog. All rights reserved. · Entries RSS · Comments RSS
Hosting By Cheap Best Hosting