Update INSTALL.md
This commit is contained in:
parent
e82dbd8e7c
commit
8ea7d9b4c3
14
INSTALL.md
14
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
|
||||
```
|
||||
```
|
||||
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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user