From 793c2f80eb210da6eecea45916363f6ad0bf4a70 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Sun, 12 Dec 2021 12:14:48 -0500 Subject: [PATCH] updated admin group for linux servers --- domainjoin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/domainjoin.sh b/domainjoin.sh index 68a5633..69e75cd 100644 --- a/domainjoin.sh +++ b/domainjoin.sh @@ -44,7 +44,7 @@ sed --in-place 's/^fallback_homedir = \/home\/%u@%d/fallback_homedir = \/home\/% # reboot sssd systemctl restart sssd -# set the sudoers.d file for the domain admins +# set the sudoers.d file for the server admins echo "## ${netbiosname} Admins ##" > /etc/sudoers.d/${netbiosname} -echo "# Allow members of ${netbiosname}\Domain Admins group sudo access" >> /etc/sudoers.d/${netbiosname} -echo "%Domain\ Admins ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/${netbiosname} +echo "# Allow members of ${netbiosname}\Server Admins group sudo access" >> /etc/sudoers.d/${netbiosname} +echo "%Server\ Admins ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/${netbiosname}