70 Star 183 Fork 521

openEuler / docs

 / 详情

There is a problem with disabling the ctrl-alt-del method

已完成
缺陷
创建于  
2020-03-31 18:57

这是一个bug还是新特性?:

以下两者二选一,请保留一项:

  • bug

【env information】
virtual machine: VMware x86_64
os: openEuler-20.03-LTS-x86_64-dvd.iso

禁止通过CTRL+ALT+DEL重启系统have some problem。
sorry for Chinese:
问题说明:
1.只删除/etc/systemd/system/ctrl-alt-del.target,保留/usr/lib/systemd/system/ctrl-alt-del.target
测试:输入组合键ctrl-alt-del
结果:系统重启。
预期:系统不重启
2. 删除文件/etc/systemd/system/ctrl-alt-del.target和/usr/lib/systemd/system/ctrl-alt-del.target
测试:输入组合键ctrl-alt-del
结果:系统没有重启。
预期:系统不重启
测试:输入组合键ctrl-alt-del按住两秒
结果:系统重启.
预期:系统不重启。

解决方法
要完全禁止ctrl-alt-del快捷键步骤
1.删除ctrl-alt-del.target
rm -f /etc/systemd/system/ctrl-alt-del.target
rm -f /usr/lib/systemd/system/ctrl-alt-del.target
2.修改/etc/systemd/system.conf
将其中#CtrlAltDelBurstAction=reboot-force 修改为CtrlAltDelBurstAction=none
3.执行systemctl daemon-reexec 或者重启系统。

评论 (3)

bluesky 创建了缺陷
bluesky 关联仓库设置为openEuler/website
展开全部操作日志

Hey @bluesky, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

bluesky 修改了描述
惊奇脆片饼干 负责人设置为hexiaowen
hexiaowen 添加协作者syyhao
hexiaowen 添加了
 
kind/bug
标签

Maybe it is for docs team, not website team. I will transfer it to the repo docs.

Fred_Li 关联仓库openEuler/website 修改为openEuler/docs
amyMaYun 通过openeuler/docs Pull Request !95任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(5)
5329419 openeuler ci bot 1632792936 5324761 overweight 1578984558 5250947 zerodefect 1578983253
1
https://gitee.com/openeuler/docs.git
git@gitee.com:openeuler/docs.git
openeuler
docs
docs

搜索帮助

344bd9b3 5694891 D2dac590 5694891