Skip to content

Commit

Permalink
GRP-3015: container prints env vars to logs which can be passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed Nov 9, 2020
1 parent b2648c6 commit 5e92e18
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions container_files/usr-local-bin/librarySetupFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit 5e92e18

Please sign in to comment.