Susers file invalid syntx fix
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
Lukáš Plevač 2024-12-08 20:50:43 +01:00
parent f55c11d6bf
commit 083d1eb3df
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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 ''

View File

@ -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