加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 提供root密码进行维护

发布时间:2020-12-13 18:28:22 所属栏目:Linux 来源:网络整理
导读:进入后 shutdown now 在终端我得到一切正常运行,然后: All processes ended withing 2 seconds...doneINIT: Going single userINIT: Sending processes the TERM signalINIT: Sending processes the KILL signalGive root password for maintenance(or....
进入后
shutdown now

在终端我得到一切正常运行,然后:

All processes ended withing 2 seconds...done
INIT: Going single user
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
Give root password for maintenance(or....

我按下Ctrl D,它显示我登录屏幕Debian.通过GUI关闭正常工作.

更新1

似乎有些过程挂起了.

此外,我已经设法通过几次重试关闭服务器.最近我只安装了ntp和ntpdate,仅此而已.

我想它可能与iptables冲突.

解决方法

您需要使用-h开关来暂停系统.关闭的默认设置是切换到运行级别1(维护).
shutdown -h now

见man shutdown.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读