From 032d57bb6b8a8ce070a66afd583c079208ae5254 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Fri, 15 May 2020 00:54:07 +0700 Subject: [PATCH] fix config file permission --- scripts/helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helper.sh b/scripts/helper.sh index c0cff0d..604b862 100644 --- a/scripts/helper.sh +++ b/scripts/helper.sh @@ -666,6 +666,7 @@ function init_config() { if [ ! -f /etc/lemper/lemper.conf ]; then run mkdir -p /etc/lemper/ run touch /etc/lemper/lemper.conf + run chmod 0600 /etc/lemper/lemper.conf fi save_log -e "# LEMPer configuration.\n# Edit here if you change your password manually, but do NOT delete!"