Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changes
mchyzer committed Oct 9, 2023
1 parent 1add274 commit 379bf75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/mkstudent.sh
@@ -49,6 +49,8 @@ usermod -G wheel,docker student
echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/99wheel

sed -i "s|PasswordAuthentication no|PasswordAuthentication yes|g" /etc/ssh/sshd_config
sed -i "s|ChallengeResponseAuthentication no|ChallengeResponseAuthentication yes|g" /etc/ssh/sshd_config
sed -i "s|#ChallengeResponseAuthentication no|ChallengeResponseAuthentication yes|g" /etc/ssh/sshd_config

systemctl restart sshd.service

0 comments on commit 379bf75

Please sign in to comment.