Update 'domainjoin.sh'
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user