问题遇到的现象和发生背景
用代码块功能插入代码,请勿粘贴截图
我想要达到的结果
我的问题是这样的,四年前师兄给安装了一个LM操作系统,但是现在我把系统密码忘记了,我问师兄,师兄说找不回,只能重装系统了,想请问有没有代码可以找回LM系统的密码啊?
我的问题是这样的,四年前师兄给安装了一个LM操作系统,但是现在我把系统密码忘记了,我问师兄,师兄说找不回,只能重装系统了,想请问有没有代码可以找回LM系统的密码啊?
你说的是这个操作系统吗?多少版本的?
Reboot your computer / Turn your computer on.
Hold down the Shift key at the start of the boot process to enable the GNU GRUB boot menu (if it does not show)
Press ESC at the GNU GRUB prompt.
Press e for edit.
Use the Arrow keys to highlight the line that begins with kernel and press the e key.
Go to the very end of the line and add rw init=/bin/bash
Press Enter and then press b to boot your system.
Your system will boot up to a passwordless root shell.
Type in passwd yourusername
Set your new password.
Restart your system.
Because Linux Mint is based on Ubuntu, I would recommend the information on the official Wiki at
LostPassword - Community Help Wiki
instead.