testing
This commit is contained in:
8
debian/debian-essentials.sh
vendored
8
debian/debian-essentials.sh
vendored
@@ -250,6 +250,7 @@ if [[ -f /opt/cronicle/conf/config.json ]]
|
|||||||
echo "Cronicle worker installed."
|
echo "Cronicle worker installed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# lock root
|
||||||
# lock root
|
# lock root
|
||||||
if [[ -d /home/akanealw ]]
|
if [[ -d /home/akanealw ]]
|
||||||
then
|
then
|
||||||
@@ -258,9 +259,12 @@ if [[ -d /home/akanealw ]]
|
|||||||
then
|
then
|
||||||
passwd -l root
|
passwd -l root
|
||||||
skill -KILL -u root
|
skill -KILL -u root
|
||||||
|
exit
|
||||||
else
|
else
|
||||||
"root account already disabled."
|
echo "root account already locked."
|
||||||
fi
|
exit
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "akanealw account not found, not locking root."
|
echo "akanealw account not found, not locking root."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user