Skip to content

Commit a237b13

Browse files
committed
[AzureADDS] Updating sudoers group name entry
1 parent 2858da9 commit a237b13

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/active-directory-domain-services/join-centos-linux-vm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ To grant members of the *AAD DC Administrators* group administrative privileges
150150
sudo visudo
151151
```
152152

153-
1. Add the following entry to the end of */etc/sudoers* file:
153+
1. Add the following entry to the end of */etc/sudoers* file. The *AAD DC Administrators* group contains whitespace in the name, so include the backslash escape character in the group name. Add your own domain name, such as *contoso.com*:
154154

155155
```console
156156
# Add 'AAD DC Administrators' group members as admins.
157-
%AAD\ DC\ Administrators ALL=(ALL) NOPASSWD:ALL
157+
%AAD\ DC\ Administrators@contoso.com ALL=(ALL) NOPASSWD:ALL
158158
```
159159

160160
When done, save and exit the editor using the `:wq` command of the editor.

articles/active-directory-domain-services/join-rhel-linux-vm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ To grant members of the *AAD DC Administrators* group administrative privileges
150150
sudo visudo
151151
```
152152

153-
1. Add the following entry to the end of */etc/sudoers* file:
153+
1. Add the following entry to the end of */etc/sudoers* file. The *AAD DC Administrators* group contains whitespace in the name, so include the backslash escape character in the group name. Add your own domain name, such as *contoso.com*:
154154

155155
```console
156156
# Add 'AAD DC Administrators' group members as admins.
157-
%AAD\ DC\ Administrators ALL=(ALL) NOPASSWD:ALL
157+
%AAD\ DC\ Administrators@contoso.com ALL=(ALL) NOPASSWD:ALL
158158
```
159159

160160
When done, save and exit the editor using the `:wq` command of the editor.

0 commit comments

Comments
 (0)