diff --git a/src/usr/local/bin/smb-create-domain b/src/usr/local/bin/smb-create-domain index b3b34ba..e6e5c97 100644 --- a/src/usr/local/bin/smb-create-domain +++ b/src/usr/local/bin/smb-create-domain @@ -152,7 +152,7 @@ sed -i "s/#PermitRootLogin prohibit-password$/PermitRootLogin yes/g" /etc/ssh/ss # Add domain admins group to sudoers #grep -E \"%domain\x20admins\\s+ALL=(ALL)\\s+ALL\" /etc/sudoers.d/domainadmins || echo \"%domain\x20admins ALL=(ALL) ALL\" >> /etc/sudoers.d/domainadmins -echo \"%domain\x20admins ALL=\(ALL\) ALL\" >> /etc/sudoers.d/domainadmins +echo "%domain\x20admins ALL=\(ALL\) ALL" >> /etc/sudoers.d/domainadmins # Restart services systemctl restart sshd.service