aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/pam_namespace/namespace.conf.5.xml5
-rw-r--r--modules/pam_namespace/pam_namespace.8.xml5
2 files changed, 8 insertions, 2 deletions
diff --git a/modules/pam_namespace/namespace.conf.5.xml b/modules/pam_namespace/namespace.conf.5.xml
index 1141136d..5ecae3de 100644
--- a/modules/pam_namespace/namespace.conf.5.xml
+++ b/modules/pam_namespace/namespace.conf.5.xml
@@ -24,7 +24,10 @@
executable script <filename>/etc/security/namespace.init</filename>
exists, it is used to initialize the namespace every time an instance
directory is set up and mounted. The script receives the polyinstantiated
- directory path and the instance directory path as its arguments.
+ directory path and the instance directory path as its arguments. The
+ script is invoked with full root privileges and accessing the instance directory
+ in this context needs to be done with caution, as it is controlled by the unprivileged
+ user for which it has been created.
</para>
<para condition="without_vendordir">
diff --git a/modules/pam_namespace/pam_namespace.8.xml b/modules/pam_namespace/pam_namespace.8.xml
index 598037a4..a866d2ef 100644
--- a/modules/pam_namespace/pam_namespace.8.xml
+++ b/modules/pam_namespace/pam_namespace.8.xml
@@ -68,7 +68,10 @@
and mounted on the polyinstantiated directory. The script receives the
polyinstantiated directory path, the instance directory path, flag
whether the instance directory was newly created (0 for no, 1 for yes),
- and the user name as its arguments.
+ and the user name as its arguments. The script is invoked with full root
+ privileges and accessing the instance directory in this context needs to
+ be done with caution, as it is controlled by the unprivileged user for
+ which it has been created.
</para>
<para condition="with_vendordir">