Update 'domainjoin.sh'

This commit is contained in:
2019-09-24 18:53:06 -04:00
parent 0375fb3244
commit 50d5246343

View File

@@ -22,4 +22,4 @@ echo "## ${domain} Admins ##" >> /etc/sudoers.d/${netbiosname}AD
echo "# Allow members of ${netbiosname}\Domain Admins group sudo access" >> /etc/sudoers.d/${netbiosname}AD
echo "%Domain^Admins ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/${netbiosname}AD
reboot
echo 'Reboot? (y/n)' && read x && [[ "$x" == "y" ]] && reboot;