Added maintanence user to wheel
All checks were successful
Build / build (push) Successful in 22m36s

This commit is contained in:
Lukáš Plevač 2024-12-09 10:51:08 +01:00
parent 79bdb4cf38
commit 749fc6a8b2
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ usermod -a -G wheel slurm
echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers
echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
useradd -m -G users,sudo -s /bin/bash maintenance
useradd -m -G users,wheel -s /bin/bash maintenance
ssh-keygen -t ed25519 -C "maintenance" -f /root/.ssh/maintenance -N ''
mkdir /home/maintenance/.ssh

View File

@ -69,7 +69,7 @@ usermod -a -G wheel slurm
echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers
echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
useradd -m -G users,sudo -s /bin/bash maintenance
useradd -m -G users,wheel -s /bin/bash maintenance
mkdir /home/maintenance/.ssh