initscripts: Restore locked root account access by using sulogin --force

Ian Campbell ijc at
Thu Nov 15 14:05:04 GMT 2018

On Thu, 2018-11-15 at 14:42 +0100, Andreas Henriksson wrote:
> On Thu, Nov 15, 2018 at 01:07:20PM +0000, Ian Campbell wrote:
> > Would it make sense for d-i to take responsibility for adding the `
> > --force` when setting up in `sudo`-only mode (i.e. when locking the
> > root account)?
> Yes (and no?), but it might become "complicated" to actually implement
> that since /etc/inittab is *not* marked as a (real) conffile.

FWIW I think d-i modifies inittab already in order to setup a getty on
ttyS0 (or it did at one point, maybe no any more).

> But most importantly, any changes in d-i will not help all the already
> existing installs who rely on the legacy behaviour. An upgrade path
> inside sysvinit still needs to handle that.

Yeah, I realised that after I hit send earlier.

Does the situation warrant a NEWS entry on upgrade then?

> People volunteering to hack d-i are also hard to come by.....

Also true.


More information about the Debian-init-diversity mailing list