summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/intune-portal/files/wrapper')
-rw-r--r--sys-apps/intune-portal/files/wrapper10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/intune-portal/files/wrapper b/sys-apps/intune-portal/files/wrapper
new file mode 100644
index 000000000000..33bcc59f8344
--- /dev/null
+++ b/sys-apps/intune-portal/files/wrapper
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+exec bwrap \
+ --bind / / \
+ --dev-bind /dev /dev \
+ --ro-bind /etc/microsoft-identity-broker/lsb-release /etc/lsb-release \
+ --ro-bind /etc/microsoft-identity-broker/os-release /etc/os-release \
+ --ro-bind /etc/pam.d/system-auth /etc/pam.d/common-password \
+ -- \
+ /opt/microsoft/intune/libexec/"${0##*/}" "${@}"