{"id":27,"date":"2018-07-27T20:01:34","date_gmt":"2018-07-27T19:01:34","guid":{"rendered":"https:\/\/www.thenaylors.co.uk\/wordpress\/?p=27"},"modified":"2018-07-30T14:29:46","modified_gmt":"2018-07-30T13:29:46","slug":"changes-to-the-omv-box-rkhunter","status":"publish","type":"post","link":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/","title":{"rendered":"Changes to the OMV box &#8211; rkhunter"},"content":{"rendered":"<p>Today I added rkhunter to check for Rootkits.\u00a0 There is a Debian version of this which installs fine using<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\napt-get intall rkhunter\r\n<\/pre>\n<p>The package installs rkhunter into \/usr\/bin<\/p>\n<p>The instructions here are good &#8211;&gt; <a href=\"https:\/\/sourceforge.net\/p\/rkhunter\/wiki\/install\/\">https:\/\/sourceforge.net\/p\/rkhunter\/wiki\/install\/<\/a> but need to be followed carefully.<\/p>\n<p>I did also install skdet and unhide as suggested.\u00a0 Again the instructions work just fine.\u00a0 I had some trouble with the patch command for skdet but only as I typed -pl and not -p1 (a 1 not an l)!<\/p>\n<p>The tests all worked fine and nothing found.<\/p>\n<p>Config files are in \/etc\/rkhunter.conf<\/p>\n<p>The package comes with a cron.daily job in etc\/cron.daily which pulls in some default values from \/etc\/default\/rkhunter.\u00a0 So this file needs to be update to make the cron job do anything.<\/p>\n<p>and this is where the trouble started&#8230;&#8230;<\/p>\n<p>This job uses sendmail. \u00a0So you would think, well I did to install sendmail. \u00a0I did without looking at the dependencies and it wipes out Openmediavault! \u00a0Ekkk!<\/p>\n<p>So 36 hours later we are running again! \u00a0It corrupted the system on a reboot and networking did not work.<\/p>\n<p>Eventually I worked out that sendmail did not uninstall correctly and OMV did not install correctly. \u00a0The Linux prompts help but key were reloading OMV Extras. \u00a0Nothing worked except apt-get clean followed by a load using<\/p>\n<p>wget -O &#8211; http:\/\/omv-extras.org\/install | bash<\/p>\n<p>which I got from the OMV Extras site here&#8230;.\u00a0<a href=\"http:\/\/omv-extras.org\/joomla\/index.php\/guides\">http:\/\/omv-extras.org\/joomla\/index.php\/guides<\/a><\/p>\n<p>(Interesting just noticed they are using Joomla!)<\/p>\n<p>I needed to remove some packages using apt-get purge after checking what they were using wget -l | grep openm.<\/p>\n<p>At last working OK. \u00a0Note some editing needed on the etc\/openmediavault\/config.xml to remove old entries which cause errors. \u00a0Clever .xml record what should be in OMV which is fine until things go wrong! \u00a0Also read the developers guide for info on how to edit the xml without actually accessing the file directly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I added rkhunter to check for Rootkits.\u00a0 There is a Debian version of this which installs fine using apt-get intall rkhunter The package installs rkhunter into \/usr\/bin The instructions here are good &#8211;&gt; https:\/\/sourceforge.net\/p\/rkhunter\/wiki\/install\/ but need to be followed carefully. I did also install skdet and unhide as suggested.\u00a0 Again the instructions work just &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Changes to the OMV box &#8211; rkhunter&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-linux-nas"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Changes to the OMV box - rkhunter - Michael Naylor<\/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:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changes to the OMV box - rkhunter - Michael Naylor\" \/>\n<meta property=\"og:description\" content=\"Today I added rkhunter to check for Rootkits.\u00a0 There is a Debian version of this which installs fine using apt-get intall rkhunter The package installs rkhunter into \/usr\/bin The instructions here are good &#8211;&gt; https:\/\/sourceforge.net\/p\/rkhunter\/wiki\/install\/ but need to be followed carefully. I did also install skdet and unhide as suggested.\u00a0 Again the instructions work just &hellip; Continue reading &quot;Changes to the OMV box &#8211; rkhunter&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\" \/>\n<meta property=\"og:site_name\" content=\"Michael Naylor\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-27T19:01:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-07-30T13:29:46+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mjnaylor\" \/>\n<meta name=\"twitter:site\" content=\"@mjnaylor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad\"},\"headline\":\"Changes to the OMV box &#8211; rkhunter\",\"datePublished\":\"2018-07-27T19:01:34+00:00\",\"dateModified\":\"2018-07-30T13:29:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\"},\"wordCount\":341,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"articleSection\":[\"Linux NAS\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\",\"name\":\"Changes to the OMV box - rkhunter - Michael Naylor\",\"isPartOf\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#website\"},\"datePublished\":\"2018-07-27T19:01:34+00:00\",\"dateModified\":\"2018-07-30T13:29:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changes to the OMV box &#8211; rkhunter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#website\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/\",\"name\":\"Michael Naylor\",\"description\":\"Things which interest me.\",\"publisher\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\",\"name\":\"Michael Naylor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g\",\"caption\":\"Michael Naylor\"},\"logo\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.thenaylors.co.uk\/wordpress\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Changes to the OMV box - rkhunter - Michael Naylor","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.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/","og_locale":"en_GB","og_type":"article","og_title":"Changes to the OMV box - rkhunter - Michael Naylor","og_description":"Today I added rkhunter to check for Rootkits.\u00a0 There is a Debian version of this which installs fine using apt-get intall rkhunter The package installs rkhunter into \/usr\/bin The instructions here are good &#8211;&gt; https:\/\/sourceforge.net\/p\/rkhunter\/wiki\/install\/ but need to be followed carefully. I did also install skdet and unhide as suggested.\u00a0 Again the instructions work just &hellip; Continue reading \"Changes to the OMV box &#8211; rkhunter\"","og_url":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/","og_site_name":"Michael Naylor","article_published_time":"2018-07-27T19:01:34+00:00","article_modified_time":"2018-07-30T13:29:46+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@mjnaylor","twitter_site":"@mjnaylor","twitter_misc":{"Written by":"admin","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#article","isPartOf":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/"},"author":{"name":"admin","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad"},"headline":"Changes to the OMV box &#8211; rkhunter","datePublished":"2018-07-27T19:01:34+00:00","dateModified":"2018-07-30T13:29:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/"},"wordCount":341,"commentCount":0,"publisher":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"articleSection":["Linux NAS"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/","name":"Changes to the OMV box - rkhunter - Michael Naylor","isPartOf":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#website"},"datePublished":"2018-07-27T19:01:34+00:00","dateModified":"2018-07-30T13:29:46+00:00","breadcrumb":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/changes-to-the-omv-box-rkhunter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thenaylors.co.uk\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Changes to the OMV box &#8211; rkhunter"}]},{"@type":"WebSite","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#website","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/","name":"Michael Naylor","description":"Things which interest me.","publisher":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thenaylors.co.uk\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5","name":"Michael Naylor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g","caption":"Michael Naylor"},"logo":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.thenaylors.co.uk\/wordpress"]},{"@type":"Person","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.thenaylors.co.uk\/wordpress\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":3,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":37,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/27\/revisions\/37"}],"wp:attachment":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}