Added maintanence user to wheel
All checks were successful
Build / build (push) Successful in 22m36s
All checks were successful
Build / build (push) Successful in 22m36s
This commit is contained in:
parent
79bdb4cf38
commit
749fc6a8b2
@ -69,7 +69,7 @@ usermod -a -G wheel slurm
|
|||||||
echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers
|
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
|
useradd -m -G users,wheel -s /bin/bash maintenance
|
||||||
ssh-keygen -t ed25519 -C "maintenance" -f /root/.ssh/maintenance -N ''
|
ssh-keygen -t ed25519 -C "maintenance" -f /root/.ssh/maintenance -N ''
|
||||||
|
|
||||||
mkdir /home/maintenance/.ssh
|
mkdir /home/maintenance/.ssh
|
||||||
|
@ -69,7 +69,7 @@ usermod -a -G wheel slurm
|
|||||||
echo "%sudo ALL=(ALL:ALL) ALL" >> /etc/sudoers
|
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
|
useradd -m -G users,wheel -s /bin/bash maintenance
|
||||||
|
|
||||||
mkdir /home/maintenance/.ssh
|
mkdir /home/maintenance/.ssh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user