{"id":193,"date":"2021-07-23T12:19:06","date_gmt":"2021-07-23T12:19:06","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-create-a-whm-reseller-without-an-associated-domain\/"},"modified":"2021-07-23T12:19:06","modified_gmt":"2021-07-23T12:19:06","slug":"how-to-create-a-whm-reseller-without-an-associated-domain","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-create-a-whm-reseller-without-an-associated-domain\/","title":{"rendered":"How to Create a WHM Reseller Without an Associated Domain"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 82 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>You can create administrative user accounts in WHM that do not correspond to a cPanel account. These accounts allow a user, such as an employee, to access WHM without root access and perform the following tasks:<\/p>\n<ul>\n<li>\n<p>Review bandwidth reports.<\/p>\n<\/li>\n<li>\n<p>Reset passwords.<\/p>\n<\/li>\n<li>\n<p>Configure mailboxes.<\/p>\n<\/li>\n<li>\n<p>Suspend and unsuspend accounts.<\/p>\n<\/li>\n<li>\n<p>Manage DNS entries.<\/p>\n<\/li>\n<\/ul>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        We strongly recommend that you do <strong>not<\/strong> use this method to create administrative user accounts. This method can cause problems with your server configuration.\n    <\/div>\n<\/div>\n<h2 id=\"create-a-whm-reseller-account-without-an-associated-domain\">Create a WHM reseller account without an associated domain<\/h2>\n<p>To create a WHM reseller account without an associated domain, perform the following steps:<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        In the steps below, <code>username<\/code> represents the desired account username.\n    <\/div>\n<\/div>\n<ol>\n<li>\n<p>Connect to the server via SSH as the <code>root<\/code> user.<\/p>\n<\/li>\n<li>\n<p>Create a new user with the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">adduser username <\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Set the new user\u2019s password with the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">passwd username<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Set the permissions for the new user\u2019s home directory with the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">chmod -v <span style=\"color:#ae81ff\">711<\/span> \/home\/username<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Create an entry in the <code>\/var\/cpanel\/resellers<\/code> file for <code>username<\/code> with the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">echo <span style=\"color:#e6db74\">\"username:\"<\/span> &gt;&gt; \/var\/cpanel\/resellers<\/code><\/pre>\n<\/div>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n        Make <strong>certain<\/strong> that you follow step 9 and select the desired permissions for this user.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p>If the <code>\/var\/cpanel\/users\/username<\/code> file exists, open that file with a text editor and remove the following line:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">DNS<span style=\"color:#f92672\">=<\/span><\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Log in to WHM as the <code>root<\/code> user and navigate to WHM\u2019s <em>Edit Reseller Nameservers and Privileges<\/em> interface (<em>WHM<\/em> &gt;&gt; <em>Home<\/em> &gt;&gt; <em>Resellers<\/em> &gt;&gt; <em>Edit Reseller Nameservers and Privileges<\/em>).<\/p>\n<\/li>\n<li>\n<p>Select <em>username<\/em> from the menu and click <em>Submit<\/em>.<\/p>\n<\/li>\n<li>\n<p>Select the checkboxes that correspond to the desired user permissions. Click <em>Save<\/em> to save these changes.<\/p>\n<\/li>\n<\/ol>\n<h2 id=\"remove-a-whm-reseller-account-without-an-associated-domain\">Remove a WHM reseller account without an associated domain<\/h2>\n<p>To remove a WHM reseller account without an associated domain, perform the following steps:<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        In the steps below, <code>username<\/code> represents the account\u2019s username.\n    <\/div>\n<\/div>\n<ol>\n<li>\n<p>Connect to the server via SSH as the <code>root<\/code> user.<\/p>\n<\/li>\n<li>\n<p>Open the <code>\/var\/cpanel\/users\/resellers<\/code> file and remove <code>username<\/code> from the file.<\/p>\n<\/li>\n<li>\n<p>Remove the <code>\/var\/cpanel\/users\/username<\/code> file.<\/p>\n<\/li>\n<li>\n<p>Remove the user file <code>username<\/code> in the <code>\/var\/cpanel\/users\/<\/code> directory. To do this, run the following command:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">rm \/var\/cpanel\/users\/username<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p>Open the <code>\/var\/cpanel\/resellers<\/code> file and remove the <code>username<\/code> user entry from the file.<\/p>\n<\/li>\n<li>\n<p>Remove the user from the system with the following command:<\/p>\n<\/li>\n<\/ol>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">userdel username<\/code><\/pre>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 82 through the latest version Version: 82 Overview You can create administrative user accounts in WHM that do not correspond to a cPanel account. These accounts allow a user, such as an employee, to access WHM without root access and perform the following tasks: Review bandwidth reports. Reset passwords. Configure mailboxes. Suspend &hellip;<\/p>\n","protected":false},"author":1,"featured_media":194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/193"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/194"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}