-if [ -d /root/etc/gdm3 ]; then - sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs +# Delete the password for the live user on volatile systems +sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs
This is unrelated to the stated purpose of blanking the password; and should probably remain gdm-specific? +#inject a systemd unit to update AccountsService properties during boot Per Adam's comment, there's no obvious reason why this should be done via a systemd unit, vs simply calling 'chroot passwd -d' from the initramfs. Have you tried that? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1761644 Title: Delete the password for the live session on all flavors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1761644/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
