Bandwagon下,root password丢失,修改root password功能报错时,3009005

首先是感谢一下无私奉献的道友,提供了很好的文档支持,链接如下:

> https://www.cnblogs.com/liyou-blog/p/8074226.html

问题的出现是因为我在用xshell的时候,把连入的信息错看成了报错,于是慌忙去的bwg的后台进行root密码重置,谁知道一直报错,如下,

MAINTENANCE: KiwiVM control panel is temporarily unavailable. Please try again in a few minutes. (3009005)

这个时候当我再回去用以前的密码进行登录时,已经完全不能用了,也就是说,以前的密码不能用了,现在的密码我也不知道了。

于是给bwg发了个tickets,英文不好,就不贴了。

贴一下ticket的reply吧。

Please follow the instructions to reset the root password for your VPS if it is using CentOS 7.

1. Restart your VPS and in the boot grub menu select option to edit.

2. Select Option to edit (e).

3. Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh.

4. Now press Control+x to start on single user mode.

5. Now access the system with this command : chroot /sysroot

6. Reset the password using this command : passwd root

7. Update selinux information using this command : touch /.autorelabel

8. Exit chroot using "exit" command.

9. Reboot your system using "reboot" command and your VPS root password has been changed successfully.

Please do not hesitate to contact us if you need any further assistance in the future.

让我比较懵逼的是,我在root密码丢失的情况下,如何去观察vps的启动情况呢。。。

幸运的是,bwg后台有个Root shell nteractive的选项,在这个选项下,右上角有个功能

send CtrlAltDel to server

这就比较6了。发送之后,就能在该界面下看到服务器的关闭启动信息了,在信息

press ESC for boot menu

出现后,点击即可进去。我选择了,3,兼容boot,然后选择第一个,centos的抢救选项,点e进行上文提到的网址下的修改方法即可。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,499评论 0 10
  • 大一上半学期马上就要结束了,暑假实习了三个月,学到点东西,马上回济南的时候也在考虑自己在大学可能会做点什么,想来想...
    居然sir阅读 727评论 1 0
  • C语言是面向过程的,而C++是面向对象的 C和C++的区别: C是一个结构化语言,它的重点在于算法和数据结构。C程...
    小辰带你看世界阅读 810评论 0 3
  • 第一节探访雅歆 唐朝初,太宗李世民从其父高祖李渊手中夺得皇权,从此恩威并施,平息九州,戍边震敌,无人能及。 长安城...
    风起时的痕迹阅读 772评论 0 0