4 ms·
Not anymore. It was removed in stretch, I think. The reason is that systemd won't let you into single-user mode if the root password is unset. edit: If, after
by boring_twenties 7y ago
Not anymore. It was removed in stretch, I think. The reason is that systemd won't let you into single-user mode if the root password is unset.
edit: If, after installing, you install sudo and manually disable the root password, you won't be able to boot to the rescue or emergency targets; a valid root password is now required by default.
If you want them to work without a password, like classic "single-user mode", you can edit both the rescue and emergency unit files, and add the --force flag to sulogin.
- yrro 7y agoLooks like it's still there: https://salsa.debian.org/installer-team/user-setup/blob/70b78fc7b8619e7a25a35ed5486222fb129c823f/debian/user-setup-udeb.templates#L46 https://salsa.debian.org/installer-team/user-setup/blob/70b7...
- deith 7y ago"single init=/bin/bash" has served me well since forever
- boring_twenties 7y agoYup, except only since the advent of systemd in my case, I don't recall ever needing it before that xD