From 22a6cadc26b0046710c363e3134b5f56248ef59a Mon Sep 17 00:00:00 2001 From: lavanya-arora Date: Sun, 15 Sep 2024 21:06:22 +0530 Subject: [PATCH 1/4] LinuxMiniProject First Commit --- SOLUTION | 3 ++- mySolution.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) mode change 100644 => 100755 mySolution.sh diff --git a/SOLUTION b/SOLUTION index 0e969ab..c90b411 100644 --- a/SOLUTION +++ b/SOLUTION @@ -1,3 +1,4 @@ - << Change this line. The secret must be placed in the first line +<814c5723c21e7e90a3eae36c8df3c513> +<< Change this line. The secret must be placed in the first line # Good Luck! \ No newline at end of file diff --git a/mySolution.sh b/mySolution.sh old mode 100644 new mode 100755 index e69de29..213ffec --- a/mySolution.sh +++ b/mySolution.sh @@ -0,0 +1,8 @@ +wget https://exit-zero-academy.github.io/DevOpsTheHardWayAssets/linux_project/secretGenerator.tar.gz +tar -xvf secretGenerator.tar.gz +cd src +mkdir -p secretDir +rm -rf maliciousFiles +touch secretDir/.secret +chmod secretDir/.secret +/bin/bash generateSecret.sh From fd5acf8b922ec991f1285cf34e0ef2c4455e8720 Mon Sep 17 00:00:00 2001 From: lavanya-arora Date: Sun, 15 Sep 2024 21:10:30 +0530 Subject: [PATCH 2/4] LinuxMiniProject First Commit --- SOLUTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SOLUTION b/SOLUTION index c90b411..f482545 100644 --- a/SOLUTION +++ b/SOLUTION @@ -1,4 +1,4 @@ -<814c5723c21e7e90a3eae36c8df3c513> +814c5723c21e7e90a3eae36c8df3c513 << Change this line. The secret must be placed in the first line # Good Luck! \ No newline at end of file From 68e61b1e646ec56c060622713f90ddc5de7afb9a Mon Sep 17 00:00:00 2001 From: lavanya-arora Date: Sun, 15 Sep 2024 21:13:14 +0530 Subject: [PATCH 3/4] LinuxMiniProject First Commit --- test/test.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 test/test.sh diff --git a/test/test.sh b/test/test.sh old mode 100644 new mode 100755 From 1d97e6a667f8b197f02dfebcb2b4e65e5a2eb5d6 Mon Sep 17 00:00:00 2001 From: lavanya-arora Date: Sun, 15 Sep 2024 21:19:58 +0530 Subject: [PATCH 4/4] LinuxMiniProject First Commit --- mySolution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mySolution.sh b/mySolution.sh index 213ffec..fc8d2ca 100755 --- a/mySolution.sh +++ b/mySolution.sh @@ -4,5 +4,5 @@ cd src mkdir -p secretDir rm -rf maliciousFiles touch secretDir/.secret -chmod secretDir/.secret +chmod 600 secretDir/.secret /bin/bash generateSecret.sh