{"id":594,"date":"2024-09-17T10:45:30","date_gmt":"2024-09-17T10:45:30","guid":{"rendered":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/?p=594"},"modified":"2024-09-17T10:48:07","modified_gmt":"2024-09-17T10:48:07","slug":"when-a-cpanel-account-was-terminated","status":"publish","type":"post","link":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/when-a-cpanel-account-was-terminated\/","title":{"rendered":"How to find when a cPanel account was terminated\/deleted"},"content":{"rendered":"<p>This article will help to know when a cPanel account was terminated in the<a href=\"https:\/\/www.squarebrothers.com\/linux-dedicated-server-india\/\" target=\"_blank\" rel=\"noopener\"> server<\/a><\/p>\n<p>If you need to know when a specific account was terminated to help narrow down which backup dates you have available or any other reason you can find that information in the accounting log file. The <code>\/var\/cpanel\/accounting.log<\/code> file contains records of cPanel account actions, such as creation, deletion, and suspension.<\/p>\n<h3>Procedure to know when a cPanel account was terminate.<\/h3>\n<ol>\n<li>Access the server&#8217;s command line as the &#8216;root&#8217; user via SSH or &#8220;<em>Terminal<\/em>&#8221; in WHM.<\/li>\n<li>Use the <code>grep<\/code> command to find &#8220;REMOVE&#8221; actions for the account&#8217;s username.<\/li>\n<\/ol>\n<pre>[root@server ~]# grep cpusername \/var\/cpanel\/accounting.log|grep REMOVE\r\nSat Sep 14 18:41:02 2024:REMOVE:root:root:domain.tld:cpusername\r\n[root@server ~]#<\/pre>\n<p><em><strong>Please note that cpusername must be replaced by the username of the account in question.<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-598 size-full\" src=\"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-content\/uploads\/2024\/09\/remove-account1.png\" alt=\"when a cPanel account was terminate\" width=\"1585\" height=\"66\" srcset=\"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-content\/uploads\/2024\/09\/remove-account1.png 1585w, https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-content\/uploads\/2024\/09\/remove-account1-300x12.png 300w, https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-content\/uploads\/2024\/09\/remove-account1-1024x43.png 1024w, https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-content\/uploads\/2024\/09\/remove-account1-768x32.png 768w, https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-content\/uploads\/2024\/09\/remove-account1-1536x64.png 1536w\" sizes=\"auto, (max-width: 1585px) 100vw, 1585px\" \/><\/p>\n<p>From the above step we can clearly know when the user account was removed with date, and time.<\/p>\n<p>If you would have temp folder is full and need to clean the tmp directory in server manually<a href=\"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/clean-up-tmp-directory\/\"> click here.\u00a0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will help to know when a cPanel account was terminated in the server If you need to know when a specific account was terminated to help narrow down which backup dates you have available or any other reason you can find that information in the accounting log file. The \/var\/cpanel\/accounting.log file contains records [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,42,66],"tags":[],"class_list":["post-594","post","type-post","status-publish","format-standard","hentry","category-control-panel","category-linux","category-ssh"],"_links":{"self":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/comments?post=594"}],"version-history":[{"count":9,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/594\/revisions"}],"predecessor-version":[{"id":604,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/594\/revisions\/604"}],"wp:attachment":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/media?parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/categories?post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/tags?post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}