Update INSTALL.md
This commit is contained in:
parent
d78813f499
commit
33d86b72de
@ -21,10 +21,10 @@ Use the following command to start openLDAP
|
||||
```
|
||||
root@example:/# slapd -h "ldap:/// ldapi:///" -g openldap -u openldap -F /etc/ldap/slapd.d
|
||||
```
|
||||
Generate a password hash for our administrator user, 1234 here being the password
|
||||
Generate a password hash for our administrator user, Op3nLd4p! here being the password to comply with password policies
|
||||
```
|
||||
root@example:/# slappasswd -s 1234
|
||||
{SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF
|
||||
root@example:/# slappasswd -s Op3nLd4p!
|
||||
{SSHA}vP1xt9t8+/GmOXmqlH1yNh305+MpUDe+
|
||||
```
|
||||
Create the .ldif file that will create the admin user, edit the _userPassword_ attribute with our password hash\
|
||||
(you can copy & paste the entire command until userPassword, copy your password hash with the mouse, and paste it directly)
|
||||
@ -36,7 +36,7 @@ objectClass: organizationalRole
|
||||
objectClass: simpleSecurityObject
|
||||
cn: admin
|
||||
description: LDAP administrator
|
||||
userPassword: {SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF # Replace with the hash of your password
|
||||
userPassword: {SSHA}vP1xt9t8+/GmOXmqlH1yNh305+MpUDe+ # Replace with the hash of your password
|
||||
EOL
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user