博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Proxmox Reset Root Password
阅读量:5214 次
发布时间:2019-06-14

本文共 1843 字,大约阅读时间需要 6 分钟。

Step 1 – Boot your Proxmox VE machine. In the boot menu screen, you select your boot option and instead of pressing enter to proceed, you simply press “e” on your keyboard.

Click on the picture for better resolution

This will bring you to screen where you can edit the boot configuration file and modify the way the system will boot.

Click on the picture for better resolution

Step 2 - Append the following text at the end of the line starting with linux :  init=/bin/sh

Click on the picture for better resolution

At this stage, simply press ctrl+x to boot your system.

Step 3 – Mount the filesystem

The system will boot in console mode. You will see something like this.

Click on the picture for better resolution

At the command line, you will have to type the following command : mount -o remount rw /

Click on the picture for better resolution

Step 4 – Reset the password for the root account.

We are almost done. In order to reset the password, you will have to digit the command passwd.  You will be asked to enter your new password and confirm it.

Click on the picture for better resolution

When it’s done, simply reboot your system and try to login using the newly resetted password.  You should be able to login into your Proxmox VE system.

Final Notes

You might want to document this procedure in case you loose your password for the root account.  The Proxmox VE 2.0 has a role based model administration that should help you minimize annoyance of loosing password.  I’m assuming that with the role based models, organization will define more than one full administrative account in order to have a secondary account that could be used to recover or access the system in case of problem with the root account.  We will see what future brings. :-)

That’s it for this post

Till next Time …See you

转载于:https://www.cnblogs.com/xishi/p/3590090.html

你可能感兴趣的文章
hdu - 1226 超级密码 (bfs)
查看>>
Qt重写paintEvent方法遇到的问题
查看>>
Sql常见面试题 受用了
查看>>
知识不是来炫耀的,而是来分享的-----现在的人们却…似乎开始变味了…
查看>>
CSS背景颜色、背景图片、平铺、定位、固定
查看>>
口胡:[HNOI2011]数学作业
查看>>
我的第一个python web开发框架(29)——定制ORM(五)
查看>>
Combination Sum III -- leetcode
查看>>
中国剩余定理
查看>>
基础笔记一
查看>>
uva 10137 The trip
查看>>
spring 解决中文乱码问题
查看>>
hdu 4268
查看>>
启动tomcat时cmd窗口一闪而过
查看>>
两个有序数列,求中间值 Median of Two Sorted Arrays
查看>>
vue路由的实现原理
查看>>
Java核心技术:Java异常处理
查看>>
Python 学习笔记一
查看>>
引入列表,将对话分类添加到对应列表中
查看>>
回文子串
查看>>