Script to createuser

Поиск
Список
Период
Сортировка
От Rebecca.R.Hepper@seagate.com
Тема Script to createuser
Дата
Msg-id OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com
обсуждение исходный текст
Ответы Re: Script to createuser
Re: Script to createuser
Список pgsql-admin
Hello All,

I am running Redhat 7.0.

I am trying to create a script that will add a user.  My script looks like
this:

echo 'createuser becky -d -a' | su postgres

When I run my script, I receive the following message even though the user
is created.

bash: /home/username/. bashrc:  Permission denied
CREATE USER

Why do I get this error and is there a way to get rid of it?

Thanks for the help!!
Rebecca





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

Предыдущее
От: manuel@des01.sanyres.es
Дата:
Сообщение: Re: Need Help in creating script
Следующее
От: Serge Canizares
Дата:
Сообщение: Re: Cannot drop sequence...