From 8ea7d9b4c382de3b2d651995d7a3e4309fd12d64 Mon Sep 17 00:00:00 2001 From: Marisa Date: Wed, 8 Oct 2025 12:23:27 -0400 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index d18b3b1..2313f67 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -26,4 +26,16 @@ Generate a password hash for our administrator user, 1234 here being the passwor ``` root@example:/# slappasswd -s 1234 {SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF -``` \ No newline at end of file +``` +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) +``` +root@example:/# cat > create_admin.ldif << EOL +dn: cn=admin,dc=example,dc=com +changetype: add +objectClass: organizationalRole +objectClass: simpleSecurityObject +cn: admin +description: LDAP administrator +userPassword: {SSHA}yxIgYTzcuRRdlesjfWkIN6K97/8jOrZF # Replace with the hash of your password +```