{"id":448,"date":"2013-04-30T05:47:45","date_gmt":"2013-04-30T05:47:45","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=448"},"modified":"2016-06-10T04:16:21","modified_gmt":"2016-06-10T04:16:21","slug":"how-to-list-all-root-users-on-cpanel-servers","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/","title":{"rendered":"How to list all root users on cPanel servers"},"content":{"rendered":"<p>There are situations (especially after a hacking attempt, or when you find something specious in rKhunter) when you need to know if there are any other user with root privileges.<\/p>\n<p>There are three commands that you must run in such situations.<\/p>\n<ul>\n<li>Check if an unwanted user is member of root group.<\/li>\n<\/ul>\n<p><span style=\"font-family: Courier New;\">[box style=&#8217;note&#8217;] grep root \/etc\/group\u00a0[\/box]<\/span><\/p>\n<ul>\n<li>Check if unwanted user is able to execute commands as root<\/li>\n<\/ul>\n<p>[box style=&#8217;note&#8217;] cat \/etc\/sudoers\u00a0[\/box]<\/p>\n<ul>\n<li>Check if certain programs are set to run as root. i.e. check SUID bit.<\/li>\n<\/ul>\n<p><span style=\"line-height: 1.5;\">[box style=&#8217;note&#8217;] find \/ -perm -04000\u00a0[\/box]<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are situations (especially after a hacking attempt, or when you find something specious in rKhunter) when you need to know if there are any other user with root privileges. There are three commands that you must run in such situations. Check if an unwanted user is member of root group. [box style=&#8217;note&#8217;] grep root [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to list all root users on cPanel servers - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to list all root users on cPanel servers - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"There are situations (especially after a hacking attempt, or when you find something specious in rKhunter) when you need to know if there are any other user with root privileges. There are three commands that you must run in such situations. Check if an unwanted user is member of root group. [box style=&#8217;note&#8217;] grep root [...]Continue Reading...\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Farooq Omer\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\"},\"author\":{\"name\":\"Farooq Omer\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"headline\":\"How to list all root users on cPanel servers\",\"datePublished\":\"2013-04-30T05:47:45+00:00\",\"dateModified\":\"2016-06-10T04:16:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\"},\"wordCount\":108,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"articleSection\":[\"Cpanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\",\"name\":\"How to list all root users on cPanel servers - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"datePublished\":\"2013-04-30T05:47:45+00:00\",\"dateModified\":\"2016-06-10T04:16:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to list all root users on cPanel servers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/fokado\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to list all root users on cPanel servers - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/","twitter_card":"summary_large_image","twitter_title":"How to list all root users on cPanel servers - cPanel Plesk","twitter_description":"There are situations (especially after a hacking attempt, or when you find something specious in rKhunter) when you need to know if there are any other user with root privileges. There are three commands that you must run in such situations. Check if an unwanted user is member of root group. [box style=&#8217;note&#8217;] grep root [...]Continue Reading...","twitter_misc":{"Written by":"Farooq Omer"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/"},"author":{"name":"Farooq Omer","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"headline":"How to list all root users on cPanel servers","datePublished":"2013-04-30T05:47:45+00:00","dateModified":"2016-06-10T04:16:21+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/"},"wordCount":108,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"articleSection":["Cpanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/","url":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/","name":"How to list all root users on cPanel servers - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"datePublished":"2013-04-30T05:47:45+00:00","dateModified":"2016-06-10T04:16:21+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-list-all-root-users-on-cpanel-servers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to list all root users on cPanel servers"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"},"url":"https:\/\/cpanelplesk.com\/wp62\/author\/fokado\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/448\/revisions"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}