Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Latest commit

 

History

History
39 lines (29 loc) · 1.3 KB

update-lh-password.md

File metadata and controls

39 lines (29 loc) · 1.3 KB
layout title keywords sidebar meta-description
page
Update lighthouse user password from CLI
lighthouse
home_sidebar
It is possible to change a password for your Portworx Lighthouse cluster, follow the steps here.

Steps to update Lighthouse user password from CLI

Make executable of the Lighthouse password reset binary given to you

chmod +x pwreset

Export kvdb environment variables that you had used while running lighthouse container

e.g. export PWX_KVDB=etcd:http://${LOCAL_IP}:2379

The following environment variables are available for px-lighthouse:

PWX_KVDB                    KVDB URL:PORT without username:password
PWX_KVDB_AUTH               'true' or 'false', to enable or disable auth 
PWX_KVDB_CA_PATH            Absolute path to host ca cert(e.g. /etc/ssl/ca.crt)
PWX_KVDB_USER_CERT_KEY_PATH Absolute path to host's certificate file (e.g. /etc/ssl/key.cert)
PWX_KVDB_USER_CERT_PATH     Absolute path to host's private key (e.g. /etc/ssl/key.key)
PWX_KVDB_USER_PWD           Username and password for etcd2 as username:password

(Note: If you are specifying PWX_KVDB_USER_PWD, then PWX_KVDB_AUTH needs to be set as true)

Run the binary

./pwreset 

LH-UPDATE-PASSWORD{:width="1374px" height="986px"}