Reset the forgotten Jessie account password
Reset the forgotten Jessie account password
You're facing a frustrating situation. It seems you need to reset the root password for Jessie, but you're already in recovery mode and can't access it. Since you mentioned trying that, you might want to follow the on-screen instructions carefully. If you still encounter issues, consider reaching out to support or checking the documentation for further guidance.
It wouldn’t be secure if the password could be restored via recovery. For a superuser account, you might attempt sudo passwd root—Debian likely doesn’t block this by default, so it should function.
On Debian systems, reset the root password is a standard procedure. Refer to the official documentation for detailed steps.
The command confirms the root partition was re-mounted successfully. The output of ls -la /etc/passwd will list the detailed file permissions, ownership, and size of the passwd file.
Start from a different live environment, such as an Arch Linux installation media, where you typically have root access. Then, attach the required file systems—like sysfs, dev, and proc—and chroot into the mounted disk while maintaining root privileges. From this setup, you can use passwd as root to modify the password.
Discovered sudo is faulty according to @CRSaka. @silentmelodies needs to switch to pkexec instead.