By: Jay Kumar user 08 Dec 2017 at 4:28 a.m. CST

3 Responses
Jay Kumar gravatar
Hi, We were going through your documentation on this page gluu.org/docs/ce/operation/faq. There is this point mentioned "Add the password for your admin account to ~/.pw and then use the commands below to add yourself as an admin." But we are not able to find this .pw file/folder. Can you please provide us more details on this ~/.pw? So that, we can proceed with the command after mentioned in this article. Thanks in advance.

By Aliaksandr Samuseu staff 08 Dec 2017 at 5:35 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Jay. It's just a temporary file you must create manually to store your LDAP password in it. Then you'll just provide path to it with `-j` option when running LDAP tools, instead of providing password in command line what we don't recommend (as it tends to stay lingering in bash history for a while, and this isn't secure).

By Jay Kumar user 08 Dec 2017 at 5:49 a.m. CST

Jay Kumar gravatar
Thank you very much, Aliaksandr! Your quick response and detailed information is highly appreciated.

By Loreto Puyod user 10 May 2019 at 1:22 a.m. CDT

Loreto Puyod gravatar
command to create ~/.pw please/