From 9a8c90211724e0804f962358653a73d87c09d253 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 3 Jun 2020 17:01:55 -0500 Subject: image: ISO: Allow live account to log in without pw --- image/backends/iso.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'image/backends/iso.cc') diff --git a/image/backends/iso.cc b/image/backends/iso.cc index 46b1d63..7dca2e1 100644 --- a/image/backends/iso.cc +++ b/image/backends/iso.cc @@ -291,6 +291,7 @@ public: output_info("CD backend", "configuring login services"); run_command("sed", {"-i", "s/pam_unix.so$/pam_unix.so nullok_secure/", target + "/etc/pam.d/base-auth"}); + run_command("chroot", {target, "/usr/bin/passwd", "-d", "live"}); /* REQ: ISO.19 */ output_info("CD backend", "creating live /etc/issue"); -- cgit v1.2.3-60-g2f50