From 3bf8601281bde1301d8b69d5d69e8dbdb4512884 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 5 Jul 2023 18:21:46 +0000 Subject: [PATCH] Update 'include/functions' --- include/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions b/include/functions index 603790c..772fa3a 100644 --- a/include/functions +++ b/include/functions @@ -19,7 +19,7 @@ makeuser_no_ansible() echo "adding new user $1" newpw=`pwgen -1B 10` pwcrypt=$(perl -e "print crypt('${newpw}', 'sa');") - sudo useradd -m -g 1000 -p $pwcrypt -s /bin/bash $1 || exit 1 + sudo useradd -m -g 1001 -p $pwcrypt -s /bin/bash $1 || exit 1 #This is the welcome for team. #sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/" $EMAIL_TEMPLATE | sudo mail $1 $2 $ADMIN_EMAIL