{"id":4098,"date":"2022-12-20T17:39:23","date_gmt":"2022-12-20T20:39:23","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/uts_namespaces-man7\/"},"modified":"2022-12-20T17:39:23","modified_gmt":"2022-12-20T20:39:23","slug":"uts_namespaces-man7","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/uts_namespaces-man7\/","title":{"rendered":"UTS_NAMESPACES (man7)"},"content":{"rendered":"<h1 align=\"center\">UTS_NAMESPACES<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COLOPHON\">COLOPHON<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">uts_namespaces \u2212 overview of Linux UTS namespaces<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">UTS namespaces provide isolation of two system identifiers: the hostname and the NIS domain name. These identifiers are set using <b>sethostname<\/b>(2) and <b>setdomainname<\/b>(2), and can be retrieved using <b>uname<\/b>(2), <b>gethostname<\/b>(2), and <b>getdomainname<\/b>(2). Changes made to these identifiers are visible to all other processes in the same UTS namespace, but are not visible to processes in other UTS namespaces.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">When a process creates a new UTS namespace using <b>clone<\/b>(2) or <b>unshare<\/b>(2) with the <b>CLONE_NEWUTS<\/b> flag, the hostname and domain of the new UTS namespace are copied from the corresponding values in the caller\u2019s UTS namespace.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Use of UTS namespaces requires a kernel that is configured with the <b>CONFIG_UTS_NS<\/b> option.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>nsenter<\/b>(1), <b>unshare<\/b>(1), <b>clone<\/b>(2), <b>getdomainname<\/b>(2), <b>gethostname<\/b>(2), <b>setns<\/b>(2), <b>uname<\/b>(2), <b>unshare<\/b>(2), <b>namespaces<\/b>(7)<\/p>\n<h2>COLOPHON <a name=\"COLOPHON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This page is part of release 5.10 of the Linux <i>man-pages<\/i> project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https:\/\/www.kernel.org\/doc\/man\u2212pages\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  uts_namespaces \u2212 overview of Linux UTS namespaces <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[971],"tags":[973,972,1177],"class_list":["post-4098","post","type-post","status-publish","format-standard","hentry","category-7-miscelanea","tag-973","tag-man7","tag-uts_namespaces"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4098"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4098\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}