summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Hallyn <serge.hallyn@ubuntu.com>2014-06-09 17:37:16 -0500
committerSerge Hallyn <serge.hallyn@ubuntu.com>2014-06-09 17:45:37 -0500
commit168ff8f37a0fdccd26774a9abeb50ed7660c9d3a (patch)
tree317d95ade999cc85e33af9b18c651393d705b045
parent578947e6614aae91e2550c83790e79479b951e40 (diff)
man: newuid and newgid: point out that root must be allocated subuidsnewuidmap.root.man
Users may otherwise be confused and think that because the kernel does not restrict uid mappings to the root user (within his current uid mappings), newuidmap will ignore /etc/subuid for the root user. It will not. Reported-by: Philippe Grégoire <gregoirep@hotmail.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
-rw-r--r--man/newgidmap.1.xml2
-rw-r--r--man/newuidmap.1.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/man/newgidmap.1.xml b/man/newgidmap.1.xml
index ad7a186e..3c1955ac 100644
--- a/man/newgidmap.1.xml
+++ b/man/newgidmap.1.xml
@@ -85,6 +85,8 @@
<para>
The <command>newgidmap</command> sets <filename>/proc/[pid]/gid_map</filename> based on it's
command line arguments and the gids allowed in <filename>/etc/subgid</filename>.
+ Note that the root user is not exempted from the requirement for a valid
+ <filename>/etc/subgid</filename> entry.
</para>
<para>
diff --git a/man/newuidmap.1.xml b/man/newuidmap.1.xml
index 04bb14fc..e07414f1 100644
--- a/man/newuidmap.1.xml
+++ b/man/newuidmap.1.xml
@@ -82,6 +82,8 @@
<para>
The <command>newuidmap</command> sets <filename>/proc/[pid]/uid_map</filename> based on it's
command line arguments and the uids allowed in <filename>/etc/subuid</filename>.
+ Note that the root user is not exempted from the requirement for a valid
+ <filename>/etc/subuid</filename> entry.
</para>
<para>