
Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the November 5th issue.

A senior developer discusses how developer elitism breeds contempt and over-reliance on AI, and how you can avoid it in your own workplace.

Examine AgentKit, Open AI’s new tool for building agents. Conduct a side-by-side comparison with n8n by building AI agents with each tool.

AI agents powered by MCP are redefining interfaces, shifting from clicks to intelligent, context-aware conversations.
Would you be interested in joining LogRocket's developer community?
Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.
Sign up now
5 Replies to "Setting up a remote Postgres database server on Ubuntu 18.04"
su – postgres ask for password but i have not filled any password during the installation process.
can you please assist on this issue.
thnak you
I know this thread is a little old, but in general, you just use the root account to reset the postgres password to whatever you want:
sudo passwd postgres
Emil
Thanks Tim (https://ubuntuforums.org/showthread.php?t=1789374)
more helpful and proper it is, Thank you:-)
Hi Hariom, I opened another terminal instance with my user and I wrote there “sudo passwd postgresql” command. As it is my user, I could change postgres user password.
After that I went back to su – posgres terminal and went on from that point.
Nice tutorial! i was struggling in the part to open the port where it kept asking for a postgres password, i just needed to ‘exit’ from there i could run the command