You are here
szuszinho - Wed, 2023/10/18 - 10:29
Hi,
I tried to change the postgres user's password. (Proxmox, LXC postgreSQL)
My inithooks.conf: export DB_PASS=superpassword
(reference Inithooks docs)
Forum:
Tags:
Hi,
I tried to change the postgres user's password. (Proxmox, LXC postgreSQL)
My inithooks.conf: export DB_PASS=superpassword
(reference Inithooks docs)
What characters did you use?
Perhaps one (or more) of the characters you're trying to use aren't being interpreted properly?
Does it work as expected if you run the inithook directly? I.e.:
If it worked as it should, then it will pause and return without an error message (or any output at all IIRC). And then you should be able to log into Postgresql as the default user ('postgres') using the new password.
If that still doesn't work, perhaps try some different characters? You could also try running it interactively (although I'm not sure whether that would help?):
Add new comment