pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rebecca.R.Hepper@seagate.com
To: pgsql-admin@postgresql.org
Subject: Script to createuser
Date: Fri, 18 May 2001 09:03:15 -0500
Message-ID: <OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com> (raw)

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







view thread (3+ messages)  latest in thread

Message-ID: <OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com>
Permalink:  ../OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com/
Also on:    postgresql.org/message-id/OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Rebecca.R.Hepper@seagate.com
  Subject: Re: Script to createuser
  In-Reply-To: <OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com>
  References: <OF00BC72E7.254EF30D-ON86256A50.004C82C9@notes.seagate.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox