Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
rescue mode and emergency mode won't work when the root account is locked #7115
systemd version the issue has been seen with
235 (and many versions before it).
Debian sid (as well as Debian stretch and Debian buster)
In case of bug report: Expected behaviour you didn't see
Rescue mode and emergency mode should give me a shell with root permissions.
In case of bug report: Unexpected behaviour you saw
Rescue mode and emergency mode won't give me any shell. After telling me that the root account is locked, they will only allow me to boot into default mode.
In case of bug report: Steps to reproduce the problem
For rescue mode:
For emergency mode:
@grawity And two years ago, util-linux added an option to sulogin specifically for this kind of cases. The defect is that systemd is not using that option.