Skip to content

Commit c3c2288

Browse files
Update ad-auth-no-join-linux-vm.md
1 parent 1ef79ab commit c3c2288

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory-domain-services/ad-auth-no-join-linux-vm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Review the information that you provided, and if everything is correct, click Fi
6464
On your Linux VM, install the following packages: *sssd sssd-tools sssd-ldap openldap-client*:
6565

6666
```bash
67-
sudo yum install -y sssd sssd-tools sssd-ldap openldap-clients
67+
sudo dnf install -y sssd sssd-tools sssd-ldap openldap-clients
6868
```
6969

7070
After the installation check if LDAP search works. In order to check it try an LDAP search following the example below:
@@ -185,13 +185,13 @@ Save the file with *ESC + wq!* command.
185185
Set the permission to sssd.conf to 600 with the following command:
186186

187187
```bash
188-
chmod 600 /etc/sssd/sssd.conf
188+
sudo chmod 600 /etc/sssd/sssd.conf
189189
```
190190

191191
After that create an obfuscated password for the Bind DN account. You must insert the Domain password for ReadOnlyUser:
192192

193193
```bash
194-
sss_obfuscate --domain default
194+
sudo sss_obfuscate --domain default
195195
```
196196

197197
The password will be placed automatically in the configuration file.
@@ -213,7 +213,7 @@ sudo authconfig --enablesssd --enablesssdauth --enablemkhomedir --updateall
213213
At this point restart the service:
214214

215215
```bash
216-
systemctl restart sssd
216+
sudo systemctl restart sssd
217217
```
218218

219219
## Test the configuration

0 commit comments

Comments
 (0)