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 <noreply@anthropic.com>
This commit is contained in:
1 parent
5de7cfec78
commit
689249cf5e
2 files changed
+6
No files matched your search
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e -u
|
||||
|
||||
# Allow passwordless root login on the live system
|
||||
passwd -d root
|
||||
@@ -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"
|
||||
)
|
||||
Reference in new issue
Block a user