centos关闭ctrl+alt+del重启

cat /etc/inittab 

成都创新互联公司是一家专注于网站设计制作、网站制作与策划设计,邢台网站建设哪家好?成都创新互联公司做网站,专注于网站建设十余年,网设计领域的专业建站公司;建站业务涵盖:邢台等地区。邢台做网站价格咨询:13518219792

# inittab is no longer used when using systemd.

#

# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.

#

# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target

#

# systemd uses 'targets' instead of runlevels. By default, there are two main targets:

#

# multi-user.target: analogous to runlevel 3

# graphical.target: analogous to runlevel 5

#

# To view current default target, run:

# systemctl get-default

#

# To set a default target, run:

# systemctl set-default TARGET.target

ll /usr/lib/systemd/system/ctrl-alt-del.target

lrwxrwxrwx. 1 root root 13 Apr 12 23:42 /usr/lib/systemd/system/ctrl-alt-del.target -> reboot.target

rm /usr/lib/systemd/system/ctrl-alt-del.target 

init q

如需开启则重新创建链接,再次执行init q重新reload配置文件即可。


文章题目:centos关闭ctrl+alt+del重启
当前网址:http://lszwz.com/article/ihiedc.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款