[ADMIN] after initdb - Re: How to CREATEDB in commandline with no prompt for password

2008-03-04 Thread bwnabble
Rajiv Rajaian-2 wrote: > > [EMAIL PROTECTED] ~]# su postgres -c "createdb postgres" > could not change directory to "/root" > CREATE DATABASE > [EMAIL PROTECTED] ~]# echo "CREATE USER globus WITH PASSWORD 'globus' > CREATEDB;" > | > psql -U postgres -d postgres > psql: FATAL: Ident authentica

[ADMIN] after initdb - Re: How to CREATEDB in commandline with no prompt for password

2008-03-04 Thread bwnabble
Rajiv Rajaian-2 wrote: > > [EMAIL PROTECTED] ~]# su postgres -c "createdb postgres" > could not change directory to "/root" > CREATE DATABASE > [EMAIL PROTECTED] ~]# echo "CREATE USER globus WITH PASSWORD 'globus' > CREATEDB;" > | > psql -U postgres -d postgres > psql: FATAL: Ident authentica