centos 遇到的 "Give root password for maintenance 。 却没办法输入密码 问题
来源:互联网 发布:mac网站上传工具 编辑:程序博客网 时间:2024/05/19 02:23
In the event your Linux box experiences disk or file system issues you may receive a "Give root password for maintenance" prompt upon reboot. If you have your root password you can login but in the event your using 'slide' or 'sudo' for wheel access or you've just mis-placed your root password - you'll need to reset it.
To reset your root password:
1. When the GRUB loader shows during boot press the spare bar to pause boot.
2. Select your boot kernel.
3. Type 'e' to edit the default kernel line.
4. Type 'e' again on the line that starts with 'kernel'.
5. Add 'init=/bin/bash' to the end of the 'kernel' line then press enter.
6. Type 'b' to boot the modified kernel parameters.
7. Once you're at the /bin/bash prompt you will need to remount the root file system as read/write in order to edit the passwd file:
# mount -o remount,rw /
8. Change your root password:
# passwd root
9. Remount the filesystem back to read only:
# mount -o remount,ro /
10. Reboot your server using CTR-ALT-DELETE.
11. You will now be able to login with your new root password and carry out the maintenance.
- centos 遇到的 "Give root password for maintenance 。 却没办法输入密码 问题
- Give root password for maintenance
- linux redhat Centos debian 破解root 密码 “Give root password for maintenance”
- linux redhat Centos debian 破解root 密码 “Give root password for maintenance
- linux redhat Centos debian 破解root 密码 “Give root password for maintenance”
- CentOS 重启时出现 “Give root password for maintenance” 错误的解决办法
- Give root password for maintenance 问题解决.
- give root password for maintenance错误解决办法!
- Linux出现Give root password for maintenance
- suse linux原创案例03: Give root password for maintenance
- linux系统Give root password for maintenance解决办法
- suse虚拟机处理Give root password for maintenance错误
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- Give root password for maintenance(or type control -D to continue)
- Centos 6.0环境下的Access denied for user 'root'@'localhost' (using password: NO)问题
- 【CentOS 学习(二)】su root 输入正确密码后仍提示Incorrect password,如何解决?
- nginx在centos中遇到无法正常启动问题,及mysql修改root用户的密码
- Centos 开机无法输入密码的问题
- c++继承中的内存布局
- 求因子
- poj1001 Wrong Answer
- 有序双链表的插入问题
- 数据结构的C++伪码实现 (英文版)
- centos 遇到的 "Give root password for maintenance 。 却没办法输入密码 问题
- 关于系统时间获取
- AIDA64 Extreme Engineer Edition v2 70 2200 Final by CHiLi – DM999
- IMSDroid Http Stack分析 -- 基本流程
- Ubuntu 使文件管理器nautilus具有root权限
- Android APP开发的弯路教训
- Genie.Timeline.2012.Home.v3.0.3.300.Multilingual.Incl.Keygen-BRD
- VB Net to C Sharp Converter v3 02 Incl Keymaker-CORE
- DVDFab v9 0 0 5 Beta Incl Patch-REPT