在以前版本的 Ubuntu 服务器中,要禁用CtrlAltDel(重新启动),我们将编辑/etc/init/control-alt-delete.conf文件并更改脚本以显示一条消息,告知此功能将不再起作用。
/etc/init/control-alt-delete.conf
CtrlAltDel现在禁用的新方法是什么?
reboot shutdown systemd 16.04
16.04 ×1
reboot ×1
shutdown ×1
systemd ×1