trouble by running 'Initialize PostgreSQL'
trouble by running 'Initialize PostgreSQL'
От:
Olavi Tiimus <olavitiimus@hot.ee>
Дата:
in postgresql-7.3.4.README there stands..
8. Initialize PostgreSQL (*when running under the "postgres" account*):
$ initdb -D /usr/share/postgresql/data
How can I log on as 'postgres'?
If I put 'su - postgres' then it asks password, I type the password, it says - 'su: incorrect password' The password _is_ correct.
Can anybody help me? Or is there another way to run '$ initdb -D /usr/share/postgresql/data'?
Olavi
-----------------------------------------
Hot Mobiil - helinad, logod ja piltsõnumid!
http://portal.hot.ee
Re: trouble by running 'Initialize PostgreSQL'
От:
Jason Tishler <jason@tishler.net>
Дата:
Olavi,
On Mon, Sep 29, 2003 at 12:10:29PM +0300, Olavi Tiimus wrote:
> How can I log on as 'postgres'?
What about the following from the README?
[2] The "$" prompt indicates running as the "postgres" user. Log in
as "postgres" or use ssh to emulate Unix's "su" command.
The former above is just the old fashion Windows way -- logon at the
logon prompt. The latter is much more convenient assuming you already
have sshd set up...
> If I put 'su - postgres' then it asks password, I type the password,
> it says - 'su: incorrect password' The password _is_ correct.
su does *not* work under Cygwin -- search the Cygwin archives for the
details.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6