X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 94B40D1DA9B for ; Fri, 16 Jan 2004 17:06:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 03707-06 for ; Fri, 16 Jan 2004 13:05:34 -0400 (AST) Received: from frankenbride.clueinc.net (xd84b4366.ip.e-nt.net [216.75.67.102]) by svr1.postgresql.org (Postfix) with ESMTP id 7F8ECD1E81A for ; Fri, 16 Jan 2004 13:02:00 -0400 (AST) Received: by frankenbride.clueinc.net (Postfix, from userid 16220) id 6C962BA40; Fri, 16 Jan 2004 12:01:44 -0500 (EST) Date: Fri, 16 Jan 2004 12:01:44 -0500 From: postgres@jal.org To: kandiah ratnavale Cc: pgsql-admin@postgresql.org Subject: Re: problem creating user Message-ID: <20040116170144.GG32160@clueinc.net> Mail-Followup-To: kandiah ratnavale , pgsql-admin@postgresql.org References: <1073896035.8876.14.camel@h24-86-62-153.vc.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1073896035.8876.14.camel@h24-86-62-153.vc.shawcable.net> User-Agent: Mutt/1.3.28i Organization: clue inc X-URL: http://www.clueinc.net/ X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/153 X-Sequence-Number: 12016 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.