From b664ecd82c62bd4d93cc9eef6e84f12b55cf3ed0 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 13 Jul 2024 15:11:44 +0200 Subject: [PATCH] Remove obsolete setup-user --- scripts/Common/OS/setup.fish | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index e06c75a3..9c64a9cf 100644 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -20,26 +20,6 @@ begin bash "$script" and source "$dir/../../copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT" and runHook setupOS || true - - and runHook createUser || \ - begin - chroot "$mountDir" \ - useradd \ - --comment "PortValhalla setup user" \ - --system \ - --no-user-group \ - --groups wheel \ - --create-home \ - --uid (getConfig valhalla.setupUser.id --json) \ - "$name" - end - - and chroot "$mountDir" usermod -aG wheel "$name" - - and begin - echo "$name ALL=(ALL:ALL) NOPASSWD: ALL" - end | chroot "$mountDir" tee "/etc/sudoers.d/PortValhalla" > /dev/null - and runHook autologin || true and begin