From 689249cf5ef5db3de2ce8faf497d3dd8dfe46193 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Mon, 31 Aug 2026 12:55:53 -0400 Subject: [PATCH] Add customize_airootfs.sh to remove root password on live system Without this, pacstrap locks root's password by default and the live ISO is unbootable/unloggable-into. Co-Authored-By: Claude Sonnet 4.6 --- iso/profile/airootfs/root/customize_airootfs.sh | 5 +++++ iso/profile/profiledef.sh | 1 + 2 files changed, 6 insertions(+) create mode 100644 iso/profile/airootfs/root/customize_airootfs.sh diff --git a/iso/profile/airootfs/root/customize_airootfs.sh b/iso/profile/airootfs/root/customize_airootfs.sh new file mode 100644 index 0000000..e2747f9 --- /dev/null +++ b/iso/profile/airootfs/root/customize_airootfs.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -e -u + +# Allow passwordless root login on the live system +passwd -d root diff --git a/iso/profile/profiledef.sh b/iso/profile/profiledef.sh index 9c8b75a..50b44ca 100644 --- a/iso/profile/profiledef.sh +++ b/iso/profile/profiledef.sh @@ -18,4 +18,5 @@ file_permissions=( ["/etc/orionos/xinitrc"]="0:0:755" ["/root/.xinitrc"]="0:0:755" ["/etc/skel/.xinitrc"]="0:0:755" + ["/root/customize_airootfs.sh"]="0:0:755" )