Basic complaint: polgresql 16 doesn't function as I think it should
First Error: postgresql psql server connection failed error
Second Error: Even after modifying /etc/postgresql/16/main/pg_hba.conf to trust the system is asking for postgres password.
Some Background: I have used postgresql since somewhere arund 2000. I first used UNIX in 1984 when I was in the USAF. I am now retired at 78 but after retiring from the USAF I worked UNIX type postions at SUN Microsystems and the Compaq to HP merger. I am presently using UBUNTU 24.04 on an HP host. I haven't used postgresql since about 2023 and I thought it would be easy to just do what I did befor. I have several notes I used for the last time I used postgresql but they do not anwer the question I have. I have the postgresql-16 pdfs. Did postgresql change from under me?
Other Information: I can log into postgres using sudo -u postgres -i
What I Want: Can someone tell me from the beginning how to establish my first lo gin to postgresql for both myself (sherman) and postgres?