How do you change rpc password?
bitcoin-cli stop
Then edit your bitcoin.conf with nano bitcoin.conf
Then edit or add the entry rpcpassword=yourpassword and rpcusername=yourusername
Save it
Restart bitcoind