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 +```