You are not logged in.
Hi,
While installing PostgreSQL got stuck here (ArchWiki):
As user 'postgres' start the database (see first paragraph of this document for instructions on how to become a postgres user):
$ su - postgres
$ initdb -D '/var/lib/postgres/data'
su requires a password, but what kind of password? Presumably, it's the postgres user's password, but this user has been created silently, without asking for a password. Neither the root password, nor my own user's passwod fit, which looks reasonable.
Last edited by Llama (2013-04-24 16:04:00)
Offline
Take a look at the "Before you start" section of the wiki.
In short, either become root before becoming postgres, or use sudo with the su command.
Offline
Thanks, discon!
Your advice is lucid enough, the Wiki is not, IMO.
Offline
use sudo with the su command.
In the same way that you use 'vim +\!nano' to open a text editor?
Use 'sudo -i', not 'sudo su'. 'sudo su' is just redundant.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline