This commit is contained in:
parent
f55c11d6bf
commit
083d1eb3df
@ -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"
|
||||
|
||||
|
@ -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 ''
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user