From 6ead9fb801aed1189fc7bc0476f493722b87ae76 Mon Sep 17 00:00:00 2001 From: akanealw Date: Fri, 20 Oct 2023 11:39:30 -0500 Subject: [PATCH] testing --- debian/debian-essentials.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index 0bd62e3..daa61d7 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -250,6 +250,7 @@ if [[ -f /opt/cronicle/conf/config.json ]] echo "Cronicle worker installed." fi +# lock root # lock root if [[ -d /home/akanealw ]] then @@ -258,9 +259,12 @@ if [[ -d /home/akanealw ]] then passwd -l root skill -KILL -u root + exit else - "root account already disabled." - fi + echo "root account already locked." + exit + fi else echo "akanealw account not found, not locking root." fi +