From: postgres@jal.org
To: kandiah ratnavale <ratnavale@shaw.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: problem creating user
Date: Fri, 16 Jan 2004 12:01:44 -0500
Message-ID: <20040116170144.GG32160@clueinc.net> (raw)
In-Reply-To: <1073896035.8876.14.camel@h24-86-62-153.vc.shawcable.net>
References: <1073896035.8876.14.camel@h24-86-62-153.vc.shawcable.net>
On Mon, 12 Jan 2004, kandiah ratnavale wrote:
> -bash-2.05b$ whoami
> postgres
> -bash-2.05b$ su - bruce
> su: user bruce does not exist
> -bash-2.05b$ createuser bruce
> Shall the new user be allowed to create databases? (y/n)
> Shall the new user be allowed to create more new users? (y/n) y
> ERROR: CREATE USER: user name "bruce" already exists
> createuser: creation of user "bruce" failed
> -bash-2.05b$ su - bruce
> su: user bruce does not exist
> -bash-2.05b$ whoami
> postgres
> -bash-2.05b$
>
> could you please tell me what is wrong here?
> how would i change to user bruce?
You are confusing OS users with postgres users.
Createuser makes a postgres user; making OS users depends on your
flavour of unix, but useradd will probably work for you.
'man useradd'.
-j
--
Jamie Lawrence jal@jal.org
"In my little way, I'm sneakily helping people understand a bit more
about the sort of people God likes."
- Larry Wall.
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: postgres@jal.org, ratnavale@shaw.ca
Subject: Re: problem creating user
In-Reply-To: <20040116170144.GG32160@clueinc.net>
References: <1073896035.8876.14.camel@h24-86-62-153.vc.shawcable.net> <20040116170144.GG32160@clueinc.net>
* 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