From 5e92e18cf5e96ef99c0e21a9a92fa513ff81cd27 Mon Sep 17 00:00:00 2001 From: Chris Hyzer Date: Mon, 9 Nov 2020 11:16:23 -0500 Subject: [PATCH] GRP-3015: container prints env vars to logs which can be passwords --- container_files/usr-local-bin/librarySetupFiles.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/container_files/usr-local-bin/librarySetupFiles.sh b/container_files/usr-local-bin/librarySetupFiles.sh index 1ab45231..f19a3fc7 100644 --- a/container_files/usr-local-bin/librarySetupFiles.sh +++ b/container_files/usr-local-bin/librarySetupFiles.sh @@ -64,9 +64,6 @@ setupFiles_storeEnvVars() { # go through env vars, should start with GROUPER and have an equals sign in there env | grep "^GROUPER" | grep "=" | sort >> /opt/grouper/grouperEnv.sh - # print these out - env | grep "^GROUPER" | grep "=" | sort - sed -i "s|^GROUPER|export GROUPER|g" /opt/grouper/grouperEnv.sh if [ ! -f /home/tomcat/.bashrc ]