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

Поиск
Список
Период
Сортировка
От Rajiv Rajaian
Тема Re: How to create a new user with password in commandline with no prompt for password
Дата
Msg-id 238696420802200115m522cfd11h2f37d87845c2d6e0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to create a new user with password in commandline with no prompt for password  (Shane Ambler <pgsql@Sheeky.Biz>)
Список pgsql-admin
Hi Shane
Thanks for u r suggestions
I tried to create user with the following command ..Im getting authentication error for postgres user

[root@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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Shane Ambler
Дата:
Сообщение: Re: How to create a new user with password in commandline with no prompt for password
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Database Loading