Received: from miranda.emc.com.ph (miranda.emc.com.ph [203.167.64.7]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2K3K3N21050 for ; Mon, 19 Mar 2001 22:20:04 -0500 (EST) (envelope-from pgsql-admin@fc.emc.com.ph) Received: from fc.emc.com.ph (mnl.emc.com.ph [203.167.64.16]) by miranda.emc.com.ph (Postfix) with ESMTP id 429846B04C; Tue, 20 Mar 2001 11:19:50 +0800 (PHT) Message-id: Date: Tue, 20 Mar 2001 11:19:50 +0800 Subject: To: joydip@cal2.vsnl.net.in Cc: pgsql-admin@postgresql.org From: "pgsql-admin" MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/146 X-Sequence-Number: 994 joydip@cal2.vsnl.net.in writes: >Dear Mike, > > I am trying to create the user but it was giving folllowing errors > > [postgres@ns data]$ su siddharta > su: user siddharta does not exist > > This is how I created the user........ > > [postgres@ns data]$ createuser siddharta > Enter user's postgres ID -> 567 > Is user "siddharta" allowed to create databases (y/n) y > Is user "siddharta" a superuser? (y/n) y > createuser: siddharta was successfully added > > I am looking 4 seriuos help. > > Thanks in advance from 'man createuser' createuser - Create a new Postgres user and this will be stored it in the pg_shadow table. as for the 'su', you cannot switch to the user unless it is already added in /etc/passwd. you will have to use 'useradd' for this. see 'man useradd'.