红联Linux门户
Linux帮助

红帽6下怎么避免用ctrl+alt+del组合键来重新开机

发布时间:2011-10-19 22:15:14来源:红联作者:gouzi223
在一本讲5的书里见到了这个问题,貌似6里面配置文件改了,请问有人知道怎么弄吗
文章评论

共有 3 条评论

  1. gouzi223 于 2011-10-20 20:47:34发表:

    # Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
    id:5:initdefault:
    可是红帽6里的配置文件是这个了,
    /etc/init/control-alt-delete.conf
    # control-alt-delete - emergency keypress handling
    #
    # This task is run whenever the Control-Alt-Delete key combination is
    # pressed. Usually used to shut down the machine.

    start on control-alt-delete

    exec /sbin/shutdown -r now "Control-Alt-Delete pressed"
    我把后两行注释掉重启,还是不行

  2. 相思爱文 于 2011-10-20 18:40:46发表:

    看看/etc/inittab这个文件里的一行
    # What to do when CTRL-ALT-DEL is pressed.
    ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

  3. ai0909 于 2011-10-20 10:32:24发表:

    路过