From 2e143f28cce4a25d45055f843871f459bdb55b17 Mon Sep 17 00:00:00 2001 From: Marisa Date: Tue, 4 Nov 2025 08:12:02 -0500 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index ec13576..f157d22 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -56,10 +56,15 @@ loginShell: /bin/bash homeDirectory: /home/marisa EOF ``` +When creating the groups and users, we will be asked the openLDAP root password (default: admin) ``` -root@example:/etc/ldap/slapd.d# ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif +root@example:/# ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif ``` -When creating the groups and users, we will be asked:\ +Notice the userPassword is invalid, let's set a proper one +``` +root@example:/# ldappasswd -x -D cn=admin,dc=example,dc=com -W -S uid=marisa,ou=people,dc=example,dc=com +``` +When setting up the password, we will be asked:\ 1-the password for the user marisa (qwerty), 2-reenter the password for marisa, 3-the openLDAP root password (admin)