aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cortexa57-poky-linux/shadow/shadow-base/latest.pkg_postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cortexa57-poky-linux/shadow/shadow-base/latest.pkg_postinst')
-rw-r--r--packages/cortexa57-poky-linux/shadow/shadow-base/latest.pkg_postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/cortexa57-poky-linux/shadow/shadow-base/latest.pkg_postinst b/packages/cortexa57-poky-linux/shadow/shadow-base/latest.pkg_postinst
new file mode 100644
index 00000000000..5241ce7f065
--- /dev/null
+++ b/packages/cortexa57-poky-linux/shadow/shadow-base/latest.pkg_postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+ update-alternatives --install /usr/bin/newgrp newgrp /usr/bin/newgrp.shadow 200
+ update-alternatives --install /usr/bin/groups groups /usr/bin/groups.shadow 200
+ update-alternatives --install /bin/login login /bin/login.shadow 200
+ update-alternatives --install /bin/su su /bin/su.shadow 200