{"id":5700,"date":"2022-12-20T18:57:27","date_gmt":"2022-12-20T21:57:27","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/newgidmap-fr\/"},"modified":"2022-12-20T18:57:27","modified_gmt":"2022-12-20T21:57:27","slug":"newgidmap-fr","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/newgidmap-fr\/","title":{"rendered":"NEWGIDMAP (fr)"},"content":{"rendered":"<h1 align=\"center\">NEWGIDMAP<\/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\">newgidmap \u2212 set the gid 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>newgidmap<\/b> <i>pid gid lowergid count<\/i> [<i>gid\u00a0lowergid\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>newgidmap<\/b> sets \/proc\/[pid]\/gid_map based on its command line arguments and the gids allowed in \/etc\/subgid. Note that the root user is not exempted from the requirement for a valid \/etc\/subgid entry.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">After the pid argument, <b>newgidmap<\/b> expects sets of 3 integers:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">gid<\/p>\n<p style=\"margin-left:17%;\">Beginning of the range of GIDs inside the user namespace.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">lowergid<\/p>\n<p style=\"margin-left:17%;\">Beginning of the range of GIDs 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>newgidmap<\/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 GIDs in the range [lowergid, lowergid+count] is allowed to the caller according to \/etc\/subgid before setting \/proc\/[pid]\/gid_map.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that newgidmap 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>newgidmap<\/b> command.<\/p>\n<h2>FICHIERS <a name=\"FICHIERS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/subgid<\/p>\n<p style=\"margin-left:17%;\">List of user&#8217;s subordinate group IDs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/proc\/[pid]\/gid_map<\/p>\n<p style=\"margin-left:17%;\">Mapping of gids 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>subgid<\/b>(5), <b>useradd<\/b>(8), <b>userdel<\/b>(8), <b>usermod<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>NEWGIDMAP NOM SYNOPSIS DESCRIPTION OPTIONS FICHIERS VOIR AUSSI NOM newgidmap \u2212 set the gid mapping of a user namespace SYNOPSIS newgidmap pid gid lowergid count [gid\u00a0lowergid\u00a0count\u00a0[\u00a0&#8230;\u00a0]] DESCRIPTION The newgidmap sets \/proc\/[pid]\/gid_map based on its command line arguments and the gids allowed in \/etc\/subgid. 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,2526],"class_list":["post-5700","post","type-post","status-publish","format-standard","hentry","category-1-comandos-generales","tag-964","tag-fr","tag-newgidmap"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5700","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=5700"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5700\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=5700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=5700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=5700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}