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" )