5 ms·
Agreed about the swap partition but Debian has supported sudo out of the box for many years, the UI is just unintuitive. If you leave the root password empty th
by jeltz 7y ago
Agreed about the swap partition but Debian has supported sudo out of the box for many years, the UI is just unintuitive. If you leave the root password empty the Debian installer will install sudo for you.
- rumanator 7y ago> If you leave the root password empty the Debian installer will install sudo for you. That's a heck of a gotcha.
- deleted 7y ago[deleted]
- smittywerben 7y agoNo sir, the Debian installer says exactly that [0]. [0] https://i.imgur.com/qIqAVSI.png https://i.imgur.com/qIqAVSI.png
- rumanator 7y agoYou are right, there is indeed text indicating that. However, even the text itself is worded to leave out the sudo implication to the end of the whole paragraph, which is typically skipped by anyone who simply wants their OS installed.
- boring_twenties 7y agoNot 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