From 2fb7d5cac51e8f9226070de7d479b3882eb854f4 Mon Sep 17 00:00:00 2001 From: wchang kim Date: Wed, 29 Jun 2016 09:14:33 +0900 Subject: [PATCH] Description : Set PATH in local script for security policy Set PATH in local script for security Change-Id: I329adf61234b84bb93b3e859009f0255e2cbdb42 Signed-off-by: Woochang Kim --- modules/pam_namespace/namespace.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/pam_namespace/namespace.init b/modules/pam_namespace/namespace.init index 9ab5806..91a0811 100755 --- a/modules/pam_namespace/namespace.init +++ b/modules/pam_namespace/namespace.init @@ -5,6 +5,9 @@ # # The following section will copy the contents of /etc/skel if this is a # newly created home directory. + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + if [ "$3" = 1 ]; then # This line will fix the labeling on all newly created directories [ -x /sbin/restorecon ] && /sbin/restorecon "$1" -- 2.7.4