{"id":36723,"date":"2019-10-31T22:13:23","date_gmt":"2019-10-31T19:13:23","guid":{"rendered":"https:\/\/prohoster.info\/blog\/eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin\/"},"modified":"2019-10-31T22:13:23","modified_gmt":"2019-10-31T19:13:23","slug":"eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin","title":{"rendered":"Eine weitere Meinung \u00fcber den Unterschied zwischen bin, sbin, usr\/bin, usr\/sbin","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Vor kurzem habe ich diesen Artikel entdeckt: <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/143614\/\">Der Unterschied zwischen bin, sbin, usr\/bin, usr\/sbin<\/a><\/noindex>. Ich m\u00f6chte meine Sicht auf den Standard teilen.<\/p>\n<h2>\/bin<\/h2>\n<p>\nEr enth\u00e4lt Befehle, die sowohl von Systemadministratoren als auch von Benutzern verwendet werden k\u00f6nnen, jedoch notwendig sind, wenn keine anderen Dateisysteme gemountet sind (zum Beispiel im Einzelbenutzermodus). Er kann auch Befehle enthalten, die indirekt von Skripten verwendet werden.<\/p>\n<p>Dort wird das Vorhandensein solcher Befehle erwartet:<\/p>\n<p><b>cat<\/b>, <b>chgrp<\/b>, <b>chmod<\/b>, <b>chown<\/b>, <b>cp<\/b>, <b>date<\/b>, <b>dd<\/b>, <b>df<\/b>, <b>dmesg<\/b>, <b>echo<\/b>, <b>false<\/b>, <b>hostname<\/b>, <b>kill<\/b>, <b>ln<\/b>, <b>login<\/b>, <b>ls<\/b>, <b>mkdir<\/b>, <b>mknod<\/b>, <b>more<\/b>, <b>mount<\/b>, <b>mv<\/b>, <b>ps<\/b>, <b>pwd<\/b>, <b>rm<\/b>, <b>rmdir<\/b>, <b>sed<\/b>, <b>sh<\/b>, <b>stty<\/b>, <b>su<\/b>, <b>sync<\/b>, <b>true<\/b>, <b>umount<\/b>, <b>uname<\/b>.<\/p>\n<p>Es k\u00f6nnen Symlinks auf \/usr erstellt werden, aber obwohl es zur Zeit von systemd selten ein separates Ger\u00e4t f\u00fcr \/usr gibt, kann es dennoch in eingebetteten Systemen, Ampeln, Kaffeem\u00fchlen und einem PDP-11, das ein wichtiges Ger\u00e4t in einem der Labore der Akademie der Wissenschaften bedient, anzutreffen sein.<\/p>\n<h2>\/sbin<\/h2>\n<p>\nDie f\u00fcr die Systemadministration verwendeten Dienstprogramme (und andere Befehle nur f\u00fcr root) befinden sich in \/sbin, die die f\u00fcr den Start, die Wiederherstellung und\/oder Wiederherstellung des Systems notwendigen Bin\u00e4rdateien enthalten, zus\u00e4tzlich zu den Bin\u00e4rdateien in \/bin. Programme, die nach dem Mounten von \/usr ausgef\u00fchrt werden (wenn es keine Probleme gibt), befinden sich normalerweise in \/usr\/sbin. Lokal installierte Programme zur Systemadministration sollten in \/usr\/local\/sbin abgelegt werden.<\/p>\n<p>Erwartet werden:<\/p>\n<p><b>fastboot, fasthalt, fdisk, fsck, getty, halt, ifconfig, init, mkfs, mkswap, reboot, route, swapon, swapoff, update<\/b>.<\/p>\n<p>Eine M\u00f6glichkeit, das System vor den ungezogenen H\u00e4nden der Benutzer zu sch\u00fctzen, besteht darin, den Start dieser Dienstprogramme f\u00fcr Unbefugte zu verbieten, indem das Attribut x gesetzt wird.<br \/>\nAu\u00dferdem ist der Austausch von \/bin und \/sbin gegen Kopien aus dem Archiv (die f\u00fcr alle \u00e4hnlichen Systeme gleich sind) eine schnelle M\u00f6glichkeit, Systeme ohne Paketmanager zu reparieren.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>\/usr\/bin<\/h2>\n<p>\nHier ist alles einfach. Gleiche Befehle, die f\u00fcr alle Server\/Kaffeem\u00fchlen des Unternehmens identisch sind. Und \/usr kann sich dieselbe f\u00fcr verschiedene Betriebssysteme entfalten (f\u00fcr \/bin und \/sbin funktioniert das in der Regel nicht), es handelt sich um architekturunabh\u00e4ngige Programme. Es kann Links auf Perl- oder Python-Interpreter enthalten, die sich in \/opt oder anderswo im Netzwerk befinden.<\/p>\n<h2>\/usr\/sbin<\/h2>\n<p>\nDas Gleiche wie \/usr\/bin, aber nur zur Verwendung durch Administratoren.<\/p>\n<h2>\/usr\/local\/bin \u0438 \/usr\/local\/sbin<\/h2>\n<p>\nEiner der wichtigsten Orte. Im Gegensatz zu den anderen kann \/usr nicht f\u00fcr die gesamte Organisation identisch sein. Hier befinden sich betriebssystemspezifische, hardwareabh\u00e4ngige und einfach Programme, die nicht auf allen Ger\u00e4ten ben\u00f6tigt werden. Bei der Synchronisierung von \/usr auf Maschinen muss \/usr\/local ausgeschlossen werden.<\/p>\n<h2>\/home\/$USER\/bin<\/h2>\n<p>\nHier gibt es einen \u00e4hnlichen Fall wie bei \/usr\/local, nur dass hier Programme liegen, die spezifisch f\u00fcr einen bestimmten Benutzer sind. Man kann sie bei einem Umzug des Benutzers auf eine andere Maschine \u00fcbertragen (oder synchronisieren). Was nicht \u00fcbertragen werden kann, befindet sich in \/home\/$USER\/.local\/bin. Man kann local auch ohne Punkt verwenden. \/home\/$USER\/sbin fehlt aus nachvollziehbaren Gr\u00fcnden.<\/p>\n<p>Korrekturen und Erg\u00e4nzungen sind willkommen.<\/p>\n<p>Quelle: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/462045\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e: \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 bin, sbin, usr\/bin, usr\/sbin. \u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442. \/bin \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u043c, \u0442\u0430\u043a \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438, \u043d\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043e\u0434\u043d\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435). \u041e\u043d \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u0441\u0432\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438. \u0422\u0430\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-36723","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e: \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 bin, sbin, usr\/bin, usr\/sbin.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0415\u0449\u0435 \u043e\u0434\u043d\u043e \u043c\u043d\u0435\u043d\u0438\u0435 \u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0435 \u043c\u0435\u0436\u0434\u0443 bin, sbin, usr\/bin, usr\/sbin | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e: \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 bin, sbin, usr\/bin, usr\/sbin.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:13:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:13:23+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Eine weitere Meinung zum Unterschied zwischen bin, sbin, usr\/bin, usr\/sbin | ProHoster","description":"Vor kurzem habe ich diesen Artikel entdeckt: Der Unterschied zwischen bin, sbin, usr\/bin, usr\/sbin.","canonical_url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0415\u0449\u0435 \u043e\u0434\u043d\u043e \u043c\u043d\u0435\u043d\u0438\u0435 \u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0435 \u043c\u0435\u0436\u0434\u0443 bin, sbin, usr\/bin, usr\/sbin | ProHoster","og:description":"\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0432\u043e\u0442 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e: \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 bin, sbin, usr\/bin, usr\/sbin.","og:url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/eshhe-odno-mnenie-o-raznitse-mezhdu-bin-sbin-usr-bin-usr-sbin","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:13:23+00:00","article:modified_time":"2019-10-31T19:13:23+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"36723","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-22 04:34:22","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:40:22","updated":"2026-01-22 04:34:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/36723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=36723"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/36723\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=36723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=36723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=36723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}