Ich habe für einen Benutzer das Passwort verlegt. Auf der Shell kann ich mich jedoch immer noch als user Postgres (su - postgres) anmelden.
Wie kann ich nun das Passwort für den Benutzer mit dem Namen “inventory” neu setzen?
# Database administrative login by UNIX sockets
local all postgres ident sameuser
# TYPE DATABASE USER CIDR-ADDRESS md5
# "local" is for Unix domain socket connections only
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv4 network connections
host all all 192.168.12.105/24 md5
# IPv6 local connections:
host all all ::1/128 md5