{"id":151,"date":"2014-01-11T00:24:19","date_gmt":"2014-01-10T22:24:19","guid":{"rendered":"http:\/\/tilofix.de\/2014\/01\/erste-schritte-auf-meinem-nas\/"},"modified":"2014-03-23T16:17:09","modified_gmt":"2014-03-23T14:17:09","slug":"erste-schritte-auf-meinem-nas","status":"publish","type":"post","link":"https:\/\/tilofix.de\/blog\/2014\/01\/erste-schritte-auf-meinem-nas\/","title":{"rendered":"Erste Schritte auf meinem NAS"},"content":{"rendered":"<p>K\u00fcrzlich nahm ich meinen neuen NAS in Betrieb (Synology DS214play) und rannte gleich in die Restriktion, dass sich normale Benutzer nicht per SSH anmelden d\u00fcrfen und somit auch keine Datein per SCP auf den neuen NAS \u00fcbertragen k\u00f6nnen.<\/p>\n<p><!--more--><\/p>\n<p>Ich fand den Hinweis unten und stellte sicher, dass der Administrator &#8222;root&#8220; werden kann, \u00e4nderte f\u00fcr die angelegten, normalen Benutzer &#8222;\/etc\/passwd&#8220; von &#8222;\/sbin\/nologin&#8220; auf &#8222;\/bin\/sh&#8220; und untersagte den root-Login \u00fcber SSH.<\/p>\n<p><a href=\"http:\/\/www.eldemonionegro.com\/blog\/archivos\/2012\/08\/19\/how-to-securely-activate-ssh-into-your-synology-diskstation-with-ssh-keys-and-no-root-login\">How to securely activate SSH into your Synology DiskStation with SSH Keys and no root login &#8211; El Demonio Negro<\/a><\/p>\n<blockquote>\n<p><strong><em>su: must be suid to work properly<\/em><\/strong><\/p>\n<p>What is happening is that permissions on binary \/bin\/busybox are \u201cwrong\u201d, run this as root to fix it.<br \/>\n <code> <\/code><\/p>\n<pre><code><span class=\"pln\">chmod u<\/span><span class=\"pun\">+<\/span><span class=\"pln\">s <\/span><span class=\"pun\">\/<\/span><span class=\"pln\">bin<\/span><span class=\"pun\">\/<\/span><span class=\"pln\">busybox<\/span><\/code><\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>K\u00fcrzlich nahm ich meinen neuen NAS in Betrieb (Synology DS214play) und rannte gleich in die Restriktion, dass sich normale Benutzer nicht per SSH anmelden d\u00fcrfen und somit auch keine Datein per SCP auf den neuen &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_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}},"categories":[5],"tags":[8],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-technik","tag-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6ZyxJ-2r","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":1,"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":249,"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/posts\/151\/revisions\/249"}],"wp:attachment":[{"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tilofix.de\/blog\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}