一键导入
reset-linux-root-password-via-grub
This skill describes how to reset a forgotten Linux root password by booting into single-user mode through the Grub menu.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill describes how to reset a forgotten Linux root password by booting into single-user mode through the Grub menu.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill outlines two methods to change the root password in Linux: one when you have the current password, and another when you need to reset it without the current password.
This skill outlines the workflow for generating a Know Your Customer (KYC) report, encompassing company website research, GLEIF/LEI lookup, and adverse media/news screening to build a foundational client profile.
This skill describes how to perform an LEI search on the GLEIF website to find a company's LEI number for KYC analysis.
This skill summarizes the "Social Media Manager Confidential" podcast, which offers realistic, positive, and insightful resources for social media managers. It covers strategies, content tips, and transparent advice for building ethical and profitable businesses that support their lifestyle goals. The podcast also extends an invitation to an exclusive, free private community for social media managers.
Understand the basic structure of an Excel file, differentiating between a workbook and its constituent worksheets, and how to navigate between them. It is foundational for anyone new to Excel or needing a refresher on its basic organization.
This skill helps users understand the basic layout of the Excel interface, including the concepts of workbooks and worksheets.
| name | Reset-Linux-Root-Password-via-Grub |
| description | This skill describes how to reset a forgotten Linux root password by booting into single-user mode through the Grub menu. |
| license | MIT |
| compatibility | Requires bash |
| metadata | {"author":"your-name","version":"1.0"} |
| triggers | ["reset-root-password","grub-reset"] |
E at the Grub menu: The Grub menu appears right after you turn on the computer. In most cases, it only stays on the screen for a few moments.
E before the Grub menu disappears, reboot and try again.linux /boot: Use the ↑ and ↓ keys to do so. This is the line you will need to modify in order to boot into single-user mode.
linux16 rather than linux.→, ←, ↑, and ↓ keys to place the cursor right after ro.init=/bin/bash after ro: The end of the line should now look like this: ro init=/bin/bash. Note the space between ro and init=/bin/bash.Ctrl+X: This tells the system to boot directly to a root-level command prompt in single-user mode.mount –o remount,rw / at the prompt: Press ↵ Enter. This mounts the file system in read-write mode.passwd at the prompt: Press ↵ Enter. Since booting into single-user mode gives you root access, there is no need to pass additional parameters to the passwd command.↵ Enter. The characters you type will not be displayed on the screen. This is normal.↵ Enter. When the system confirms you’ve re-entered the same password, you will see a message that reads “password updated successfully.”reboot –f: Press ↵ Enter. This command reboots the system normally.