From 48e95ddffe17a67997b32a20e72129d5bb738f62 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 7 Nov 2021 00:24:52 -0400 Subject: Root is now the default user again; Archfi is executable --- airootfs/etc/X11/xinit/xinitrc | 1 + airootfs/etc/passwd | 2 +- airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf | 2 +- profiledef.sh | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 airootfs/etc/X11/xinit/xinitrc diff --git a/airootfs/etc/X11/xinit/xinitrc b/airootfs/etc/X11/xinit/xinitrc new file mode 100644 index 0000000..ff8a1e5 --- /dev/null +++ b/airootfs/etc/X11/xinit/xinitrc @@ -0,0 +1 @@ +exec startxfce4 diff --git a/airootfs/etc/passwd b/airootfs/etc/passwd index ebdfb20..b41cba2 100644 --- a/airootfs/etc/passwd +++ b/airootfs/etc/passwd @@ -1,2 +1,2 @@ root:x:0:0:root:/root:/usr/bin/zsh -alee:x:1000:1000::/home/alee:/usr/bin/bash +alee:x:1000:1000::/home/alee:/bin/bash diff --git a/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf index 112a327..d1d8474 100644 --- a/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf +++ b/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf @@ -1,3 +1,3 @@ [Service] ExecStart= -ExecStart=-/sbin/agetty --autologin alee --noclear %I 38400 linux +ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux diff --git a/profiledef.sh b/profiledef.sh index 2952b22..e2c0a86 100644 --- a/profiledef.sh +++ b/profiledef.sh @@ -6,7 +6,7 @@ iso_label="ALEEBOOTUTILITY_$(date +%Y%m%d)" iso_publisher="Andrew Lee " iso_application="Alee's Boot Utility" iso_version="$(date +%Y.%m.%d-%H.%M.%S)" -install_dir="arch" +install_dir="abu" buildmodes=('iso') bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') arch="x86_64" @@ -18,6 +18,7 @@ file_permissions=( ["/etc/gshadow"]="0:0:0400" ["/root"]="0:0:750" ["/root/.automated_script.sh"]="0:0:755" + ["/usr/bin/archfi"]="0:0:755" ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/Installation_guide"]="0:0:755" ["/usr/local/bin/livecd-sound"]="0:0:755" -- cgit v1.2.3