From 083d1eb3df2c6e3c31f62cb4ec4c058725ef9f96 Mon Sep 17 00:00:00 2001 From: Lukas Plevac Date: Sun, 8 Dec 2024 20:50:43 +0100 Subject: [PATCH] Susers file invalid syntx fix --- versions/lite/airootfs/fast_install_stage2.sh | 2 +- versions/master/airootfs/fast_install_stage2.sh | 2 +- versions/slave/airootfs/fast_install_stage2.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/versions/lite/airootfs/fast_install_stage2.sh b/versions/lite/airootfs/fast_install_stage2.sh index 687e28f..f1cc590 100644 --- a/versions/lite/airootfs/fast_install_stage2.sh +++ b/versions/lite/airootfs/fast_install_stage2.sh @@ -69,7 +69,7 @@ yes ${PASSWORD} | passwd yes ${PASSWORD} | passwd ${USER} echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers -echo "%wheel ALL=(ALL:ALL) NOPASSWD ALL" >> /etc/sudoers +echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers echo "Installing GRUB" diff --git a/versions/master/airootfs/fast_install_stage2.sh b/versions/master/airootfs/fast_install_stage2.sh index 56456d5..28deba6 100644 --- a/versions/master/airootfs/fast_install_stage2.sh +++ b/versions/master/airootfs/fast_install_stage2.sh @@ -67,7 +67,7 @@ yes ${PASSWORD} | passwd ${USER} usermod -a -G wheel slurm echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers -echo "%wheel ALL=(ALL:ALL) NOPASSWD ALL" >> /etc/sudoers +echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers useradd -m -G users,sudo -s /bin/bash maintenance ssh-keygen -t ed25519 -C "maintenance" -f /root/.ssh/maintenance -N '' diff --git a/versions/slave/airootfs/fast_install_stage2.sh b/versions/slave/airootfs/fast_install_stage2.sh index d96b257..6bdda21 100644 --- a/versions/slave/airootfs/fast_install_stage2.sh +++ b/versions/slave/airootfs/fast_install_stage2.sh @@ -67,7 +67,7 @@ yes ${PASSWORD} | passwd ${USER} usermod -a -G wheel slurm echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers -echo "%wheel ALL=(ALL:ALL) NOPASSWD ALL" >> /etc/sudoers +echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers useradd -m -G users,sudo -s /bin/bash maintenance