Update INSTALL.md

This commit is contained in:
Marisa 2025-10-12 11:42:35 -04:00
parent d78813f499
commit 33d86b72de

View File

@ -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 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 root@example:/# slappasswd -s Op3nLd4p!
{SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF {SSHA}vP1xt9t8+/GmOXmqlH1yNh305+MpUDe+
``` ```
Create the .ldif file that will create the admin user, edit the _userPassword_ attribute with our password hash\ 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) (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 objectClass: simpleSecurityObject
cn: admin cn: admin
description: LDAP administrator 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 EOL
``` ```
``` ```