This commit is contained in:
2023-10-20 11:39:30 -05:00
parent ffff8ca075
commit 6ead9fb801

View File

@@ -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