Update INSTALL.md
This commit is contained in:
parent
d32c3b4dad
commit
2e143f28cc
@ -56,10 +56,15 @@ loginShell: /bin/bash
|
|||||||
homeDirectory: /home/marisa
|
homeDirectory: /home/marisa
|
||||||
EOF
|
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)
|
1-the password for the user marisa (qwerty), 2-reenter the password for marisa, 3-the openLDAP root password (admin)
|
||||||
|
|
||||||
<!--Generate a password hash for our administrator user, Op3nLd4p! here being the password to comply with password policies
|
<!--Generate a password hash for our administrator user, Op3nLd4p! here being the password to comply with password policies
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user