From 0be5429958ac79e631888458de1e91545dcc5951 Mon Sep 17 00:00:00 2001 From: mchyzer Date: Wed, 8 Nov 2023 00:48:31 -0500 Subject: [PATCH] back to pass --- internal/mkstudent.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/mkstudent.sh b/internal/mkstudent.sh index 966fc8a..47505a9 100644 --- a/internal/mkstudent.sh +++ b/internal/mkstudent.sh @@ -28,8 +28,8 @@ docker pull "tier/gte:401.end-$GROUPER_GTE_DOCKER_BRANCH" MY_IP=$(curl icanhazip.com) # Generate a password -#PASS=$(od -An -N32 -i /dev/random | md5sum | cut -c1-8) -PASS=Gmg86m3ZYalbiaohvaTZ +PASS=$(od -An -N32 -i /dev/random | md5sum | cut -c1-8) +#PASS=Gmg86m3ZYalbiaohvaTZ #ENCRYPTED_PASS=$(perl -e 'print crypt($ARGV[0], "password")' $PASS) groupadd -g 1002 student @@ -49,8 +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 +#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 @@ -78,3 +78,4 @@ updatedb # Echo the IP and password with no whitespace so it doesnt wrap echo "abcdefg12345678,$MY_IP,$PASS," +#pip3 install urllib3==1.26.6 \ No newline at end of file