Skip site navigation (1) Skip section navigation (2)

Re: How to create a new user with password in commandline with no prompt for password

From: "Rajiv Rajaian" <rajiv(dot)pgsql(at)gmail(dot)com>
To: "Shane Ambler" <pgsql(at)sheeky(dot)biz>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to create a new user with password in commandline with no prompt for password
Date: 2008-02-20 09:15:50
Message-ID: 238696420802200115m522cfd11h2f37d87845c2d6e0@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-es-ayuda
Hi Shane
Thanks for u r suggestions
I tried to create user with the following command ..Im getting
authentication error for postgres user

[root(at)g151~]# echo "CREATE USER globus WITH PASSWORD 'globus' CREATEDB;" |
psql -U postgres
psql: FATAL:  IDENT authentication failed for user "postgres"



> Get Sheeky @ http://Sheeky.Biz
>

In response to

Responses

pgsql-admin by date

Next:From: Dimitri FontaineDate: 2008-02-20 09:17:48
Subject: Re: Database Loading
Previous:From: Shane AmblerDate: 2008-02-20 08:06:16
Subject: Re: How to create a new user with password in commandline with no prompt for password

pgsql-es-ayuda by date

Next:From: Rajiv RajaianDate: 2008-02-20 10:19:42
Subject: Re: How to create a new user with password in commandline with no prompt for password
Previous:From: Jose Maria Mencia FernandezDate: 2008-02-20 08:48:18
Subject: Re: Re[2]: tsearch2 vs. like

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group