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