testing locking root
This commit is contained in:
8
debian/debian-essentials.sh
vendored
8
debian/debian-essentials.sh
vendored
@@ -250,3 +250,11 @@ if [[ -f /opt/cronicle/conf/config.json ]]
|
|||||||
/opt/cronicle/bin/control.sh start
|
/opt/cronicle/bin/control.sh start
|
||||||
echo "Cronicle worker installed."
|
echo "Cronicle worker installed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# lock root
|
||||||
|
if [[ -d /home/akanealw ]]
|
||||||
|
then
|
||||||
|
sudo passwd -l root
|
||||||
|
else
|
||||||
|
echo "akanealw account not found, not locking root."
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user