{"id":5656,"date":"2022-12-20T18:45:45","date_gmt":"2022-12-20T21:45:45","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/newuidmap-fr\/"},"modified":"2022-12-20T18:45:45","modified_gmt":"2022-12-20T21:45:45","slug":"newuidmap-fr","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/newuidmap-fr\/","title":{"rendered":"NEWUIDMAP (fr)"},"content":{"rendered":"<h1 align=\"center\">NEWUIDMAP<\/h1>\n<p> <a href=\"#NOM\">NOM<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#FICHIERS\">FICHIERS<\/a><br \/> <a href=\"#VOIR AUSSI\">VOIR AUSSI<\/a> <\/p>\n<hr>\n<h2>NOM <a name=\"NOM\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">newuidmap \u2212 set the uid mapping of a user namespace<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>newuidmap<\/b> <i>pid uid loweruid count<\/i> [<i>uid\u00a0loweruid\u00a0count\u00a0<\/i>[\u00a0<i>&#8230;\u00a0<\/i>]]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>newuidmap<\/b> sets \/proc\/[pid]\/uid_map based on its command line arguments and the uids allowed in \/etc\/subuid. Note that the root user is not exempted from the requirement for a valid \/etc\/subuid entry.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">After the pid argument, <b>newuidmap<\/b> expects sets of 3 integers:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">uid<\/p>\n<p style=\"margin-left:17%;\">Beginning of the range of UIDs inside the user namespace.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">loweruid<\/p>\n<p style=\"margin-left:17%;\">Beginning of the range of UIDs outside the user namespace.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">count<\/p>\n<p style=\"margin-left:17%;\">Length of the ranges (both inside and outside the user namespace).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>newuidmap<\/b> verifies that the caller is the owner of the process indicated by <b>pid<\/b> and that for each of the above sets, each of the UIDs in the range [loweruid, loweruid+count] is allowed to the caller according to \/etc\/subuid before setting \/proc\/[pid]\/uid_map.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that newuidmap may be used only once for a given process.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">There currently are no options to the <b>newuidmap<\/b> command.<\/p>\n<h2>FICHIERS <a name=\"FICHIERS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/subuid<\/p>\n<p style=\"margin-left:17%;\">List of user&#8217;s subordinate user IDs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/proc\/[pid]\/uid_map<\/p>\n<p style=\"margin-left:17%;\">Mapping of uids from one between user namespaces.<\/p>\n<h2>VOIR AUSSI <a name=\"VOIR AUSSI\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>login.defs<\/b>(5), <b>newusers<\/b>(8), <b>subuid<\/b>(5), <b>useradd<\/b>(8), <b>usermod<\/b>(8), <b>userdel<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>NEWUIDMAP NOM SYNOPSIS DESCRIPTION OPTIONS FICHIERS VOIR AUSSI NOM newuidmap \u2212 set the uid mapping of a user namespace SYNOPSIS newuidmap pid uid loweruid count [uid\u00a0loweruid\u00a0count\u00a0[\u00a0&#8230;\u00a0]] DESCRIPTION The newuidmap sets \/proc\/[pid]\/uid_map based on its command line arguments and the uids allowed in \/etc\/subuid. Note that the root user is not exempted from the requirement for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[962],"tags":[964,2502,2503],"class_list":["post-5656","post","type-post","status-publish","format-standard","hentry","category-1-comandos-generales","tag-964","tag-fr","tag-newuidmap"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5656","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=5656"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5656\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=5656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=5656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=5656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}