A tip for ForgeRock OpenDJ

Normally, after OpenDJ installation, when we use any OpenDJ commands under $OpenDJ_Path/bin, we have to include parameters like hostname, baseDN etc. For example: ./ldapsearch --hostname localhost --port 1389 --baseDN="ou=people,dc=example,dc=com" --bindDN="cn=directory manager" --bindPassword=yourpassword uid=* dn dn: uid=user.0,ou=people,dc=example,dc=com dn: uid=user.1,ou=people,dc=example,dc=com dn: uid=user.2,ou=people,dc=example,dc=com dn: uid=user.3,ou=people,dc=example,dc=com This could be annoying and unsafe, because the user and password are in
Read More