Password Reset - Debian
Publisher: Psychz Networks, August 18,2025Resetting Your Server Root Password on Debian via IPMI
If you’ve lost access to your server’s root password, you can reset it using IPMI. Follow these steps:
1. Connect to IPMI
- Follow this guide: How to Access IPMI
- Or download IPMIView: Supermicro IPMIView
2. Mount the ISO
- Use this guide: How to Mount ISO via IPMI
3. Modify Boot Parameters
- Reboot and press ESC quickly to reach the GRUB menu.
- Press E to edit boot parameters.
- Find the line starting with linux /boot/, go to the end, and add:
init=/bin/bash
Example: linux /boot/vmlinuz-5.10.0-18-amd64 root=/dev/sda1 ro quiet init=/bin/bash
- Press CTRL+X or F10 to boot in single-user mode.
4. Reset Password
- Remount root as read-write:
mount -o remount,rw /
- Change root password:
passwd
- Reboot server:
reboot -f
Your root password is now reset. Use the new password to log back into your server.