{"id":1154,"date":"2021-06-30T11:20:36","date_gmt":"2021-06-30T11:20:36","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=1154"},"modified":"2021-09-30T12:53:45","modified_gmt":"2021-09-30T12:53:45","slug":"disable-non-essential-services","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/","title":{"rendered":"How to disable non essential services that are prone to exploitation?"},"content":{"rendered":"<p>Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation in case of unwanted services running on the server of the nonessential service.<\/p>\n<p>Install the systemd package:<\/p>\n<p><em>sudo apt-get install systemd<\/em><\/p>\n<p>See which non essential services are running:<\/p>\n<p><em>systemctl list-units<\/em><\/p>\n<p>Recognize which services may expose your system to potential risks. Each service has its own price.<\/p>\n<p>Stop the service if it&#8217;s currently running:<\/p>\n<p><em>systemctl stop &lt;service&gt;<\/em><\/p>\n<p>Disable the service from starting on boot:<\/p>\n<p><em>systemctl disable &lt;service&gt;<\/em><\/p>\n<p>After running these commands, check the status of the non-essential services:<\/p>\n<p><em>systemctl status &lt;service&gt;<\/em><\/p>\n<p>At<strong> Velan<\/strong>, our server support engineers can remove unwanted services&amp; <a href=\"https:\/\/www.velaninfo.com\/rs\/tech-tips\/linux\/\"><strong>manage your Linux server<\/strong><\/a>.\u00a0If you are interested in our service, please fill the Quick connect form to <a href=\"https:\/\/www.velaninfo.com\/contact\"><strong>get in touch with us<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation in case of unwanted services running on the server of the nonessential service. Install the systemd package: sudo apt-get install systemd See which non essential services are running: systemctl list-units Recognize which services may expose your system to potential&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-1154","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-core","Categories_tech_tip-linux","Categories_tech_tip-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Non essential services | How to running on the server?<\/title>\n<meta name=\"description\" content=\"How do I disable nonessential services? Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation the server\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to disable non essential services that are prone to exploitation?\" \/>\n<meta property=\"og:description\" content=\"How do I disable nonessential services? Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation the server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-30T12:53:45+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/disable-non-essential-services\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/disable-non-essential-services\\\/\",\"name\":\"Non essential services | How to running on the server?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"datePublished\":\"2021-06-30T11:20:36+00:00\",\"dateModified\":\"2021-09-30T12:53:45+00:00\",\"description\":\"How do I disable nonessential services? Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation the server\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/disable-non-essential-services\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/disable-non-essential-services\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/disable-non-essential-services\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to disable non essential services that are prone to exploitation?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Non essential services | How to running on the server?","description":"How do I disable nonessential services? Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation the server","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:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/","og_locale":"en_US","og_type":"article","og_title":"How to disable non essential services that are prone to exploitation?","og_description":"How do I disable nonessential services? Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation the server","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/","og_site_name":"Velan","article_modified_time":"2021-09-30T12:53:45+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/","name":"Non essential services | How to running on the server?","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2021-06-30T11:20:36+00:00","dateModified":"2021-09-30T12:53:45+00:00","description":"How do I disable nonessential services? Disabling unneeded services is a wise practice. As a result, fewer ports are available for exploitation the server","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/disable-non-essential-services\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to disable non essential services that are prone to exploitation?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=1154"}],"version-history":[{"count":3,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1154\/revisions"}],"predecessor-version":[{"id":1446,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1154\/revisions\/1446"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=1154"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=1154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}