From f14e8e6f58195606e54a8e50770ccd0553cc7a96 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 10 Oct 2023 20:49:08 -0500 Subject: user/livecd-support: Many improvements * Change install scripts to local.d scripts. * Add a local.d script to make dhcpcd setuid. (adelie/horizon#361) * Make the Desktop Entry file a real file instead of a heredoc. * Remove setuid bit from the shell script; we don't need this any more. * Pull in our new LXQt theme for a better experience. * Add XFCE subpackage. * Set PATH correctly for horizon-run-qt5 so it can find mkfs.vfat and friends. * Set the clock with chronyd if possible on boot, before the graphical environment starts. * Use sudo for partitionmanger. (adelie/horizon#368) Ref: #1081 --- user/livecd-support/allow-nullpw.start | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 user/livecd-support/allow-nullpw.start (limited to 'user/livecd-support/allow-nullpw.start') diff --git a/user/livecd-support/allow-nullpw.start b/user/livecd-support/allow-nullpw.start new file mode 100644 index 000000000..f10af795e --- /dev/null +++ b/user/livecd-support/allow-nullpw.start @@ -0,0 +1,6 @@ +#!/bin/sh +# Welcome to Adélie Linux. +# This script changes local PAM configuration to allow null passwords. +# This way, the `live` user does not need a password. + +sed -i 's/pam_unix.so$/pam_unix.so nullok_secure/' /etc/pam.d/base-auth -- cgit v1.2.3-60-g2f50