We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ba0fbc commit 944ac56Copy full SHA for 944ac56
hardening/root-locker.sh
@@ -38,6 +38,7 @@ read -rp "We will now disable the root account. Press [Enter] to continue."
38
echo "Disabling root account..."
39
passwd -dl root || {
40
echo -e "\n${red}Failed to lock the root account${nc}"
41
+ echo -e "\nExiting..."
42
exit 1
43
}
44
0 commit comments