{"id":478,"date":"2012-07-13T08:18:25","date_gmt":"2012-07-13T08:18:25","guid":{"rendered":"http:\/\/pheonixsolutions.com\/?p=478"},"modified":"2026-09-02T18:21:55","modified_gmt":"2026-09-02T12:51:55","slug":"edit-package-owner-of-an-account-in-cpanel-backend","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/edit-package-owner-of-an-account-in-cpanel-backend\/","title":{"rendered":"How to Change cPanel Account Package and Owner from the Backend"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes, we will have the SSH root access without WHM access. If suppose, you want to change the package, owner, etc., for an account. In WHM, you can edit the settings easily. Here is the post to explain, how to change the account settings in backend.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before proceeding, ensure that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You have SSH access to the cPanel server.<\/li>\n\n\n\n<li>You have root access to the server.<\/li>\n\n\n\n<li>You know the cPanel username of the account that needs to be modified.<\/li>\n\n\n\n<li>You have permission to modify cPanel account configuration files.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Login to the Server as Root<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Login to the server using SSH as the root user.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Change the Working Directory<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Change the working directory to <code>\/var\/cpanel\/users<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd \/var\/cpanel\/users\/<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Access the cPanel Account File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Access the cPanel account file using the following command:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">vi cpanelacc<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The following content will be shown.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># cPanel \u2014 If you edit this file directly you must run \/usr\/local\/cpanel\/scripts\/updateuserdomains afterwards to rebuild the system caches.\n# If you edit MAX_EMAIL_PER_HOUR or MAX_EMAIL_PER_HOUR-[domain] you must run \/usr\/local\/cpanel\/scripts\/updateuserdomains\nBWLIMIT=unlimited\nCONTACTEMAIL=youremail@domain.tld\nCONTACTEMAIL2=\nDBOWNER=username\nDEMO=0\nDNS=domainname.tld\nDNS1=ns1.domainname.tld\nFEATURELIST=default\nHASCGI=1\nHASDKIM=0\nHASSPF=0\nIP=1.1.1.1\nLOCALE=en\nMAXADDON=2\nMAXFTP=unlimited\nMAXLST=unlimited\nMAXPARK=unlimited\nMAXPOP=unlimited\nMAXSQL=unlimited\nMAXSUB=unlimited\nMTIME=1338330534\nOWNER=root\nPLAN=default\nRS=x3\nSTARTDATE=1338330534\nUSER=username<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">From the above, if you want to change the package then edit <code><strong>PLAN<\/strong><\/code> or else if you want to change the ownership then edit <code><strong>OWNER<\/strong><\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Update cPanel User Domains<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After completing the above step, you would need to run the following command in order to change the reflects to WHM.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/usr\/local\/cpanel\/scripts\/updateuserdomains<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Using the above method, the package and ownership settings of a cPanel account can be modified from the backend when SSH root access is available but WHM access is not available. After modifying the account configuration, running the <code>updateuserdomains<\/code> script updates the required cPanel system caches.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Can I change a cPanel account package without WHM access?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. If you have SSH root access to the cPanel server, the account configuration can be modified from the backend.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Which setting is used to change the cPanel package?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code><strong>PLAN<\/strong><\/code> setting in the cPanel account file is used to specify the package associated with the account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Which setting is used to change the account owner?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code><strong>OWNER<\/strong><\/code> setting in the cPanel account file specifies the owner of the cPanel account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-whm-cpanel-on-ubuntu-20-04\/\">How to Install WHM cPanel on Ubuntu 20.04<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Talk to our experts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Looking for the right technology solution for your business? Our team of experts can help you with development, cloud, DevOps, design, and a wide range of other technology needs. Get in touch with our team&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/contact\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Sometimes, we will have the SSH root access without WHM access. If suppose, you want to change the package, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[249,263,248],"class_list":["post-478","post","type-post","status-publish","format-standard","hentry","category-cloud-aws","tag-backend","tag-cpanel","tag-package-edit","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-7I","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=478"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/478\/revisions"}],"predecessor-version":[{"id":11325,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/478\/revisions\/11325"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}