Security - Ctrl-Alt-Del disabled

Description

Reboot via console Ctrl-Alt-Del should not be disabled

Solution

sed -i "/^[^#]ctrlaltdel/s/^/#/" /etc/inittab

Check Script: security-no-ctrlaltdel.sh

if grep -q "^[[:space:]]*[^#].*:ctrlaltdel:" /etc/inittab 2>/dev/null; then
	result_failed "Ctrl-Alt-Del is allowed in /etc/inittab"
fi
Show Disqus Comments