步骤一:禁止同时按下 “ctrl” 键和 “alt” 键和 “delete” 键的关机功能
# systemctl disable ctrl-alt-del.target
步骤二:锁定同时按下 “ctrl” 键和 “alt” 键和 “delete” 键的关机功能
# systemctl mask ctrl-alt-del.target
步骤三:查看同时按下 “ctrl” 键和 “alt” 键和 “delete” 键的锁定状态
# systemctl is-enabled ctrl-alt-del.target
masked
(补充:这里的 masked 代表已经锁定)