单用户模式主要用于重置root密码等操作
- 启动时候在grub的启动界面选择内核版本时候按E进入编辑模式
- 在linux16开头的那行末尾出加上
空格init=/bin/bash - 按Ctrl+x启动即可进入单用户模式,此时可以对系统各分区内容进行修改包括强制重置root密码等操作。
单用户模式主要用于重置root密码等操作
空格init=/bin/bashFrom here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| n | Next page |
| p | Previous page |
| s | Search |