[Bug 1761644] Re: Delete the password for the live session on all flavors

Steve Langasek steve.langasek at canonical.com
Fri Apr 6 01:14:32 UTC 2018


-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
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1761644

Title:
  Delete the password for the live session on all flavors

Status in casper package in Ubuntu:
  Confirmed

Bug description:
  Right now, only when gdm3 is installed is a systemd unit created to
  run passwd -d. This is preferable over having a blank password because
  it provides consistency between Desktop and flavors, and it makes it
  quicker to use a tty (and less confusing for people who get stuck
  thinking there's a password they don't know).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1761644/+subscriptions



More information about the foundations-bugs mailing list