From 18d28603973002d74233eeabc22efc9c64d59ffe Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 9 Nov 2025 05:26:32 +0900 Subject: [PATCH] fix ai user --- build.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.zsh b/build.zsh index 3455346..aa92971 100755 --- a/build.zsh +++ b/build.zsh @@ -65,7 +65,8 @@ cp -rf ./cfg/os-release root.x86_64/etc/os-release # Configure sudoers for wheel group (full access for container operation) echo "Configuring sudoers..." -arch-chroot root.x86_64 /bin/sh -c 'echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers' +arch-chroot root.x86_64 /bin/sh -c 'echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman -Syu --noconfirm, /usr/bin/poweroff, /usr/bin/reboot" >> /etc/sudoers' +arch-chroot root.x86_64 /bin/sh -c 'echo "ai ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers' # Install aigpt (aios core package) echo "Installing aigpt..."