Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2JHNNk35951 for ; Mon, 19 Mar 2001 12:23:23 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2JEdi690348 for ; Mon, 19 Mar 2001 09:39:44 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f2JEFHa30403 for pgsql-admin@postgresql.org; Mon, 19 Mar 2001 09:15:17 -0500 (EST) (envelope-from news) From: joydip@cal2.vsnl.net.in X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Re: cannot create new user in postgres Followup-To: comp.databases.postgresql.admin Date: 19 Mar 2001 14:10:01 GMT Organization: NewsOne.Net - Free Usenet News via the Web - http://newsone.net/ Lines: 94 Message-ID: <9953vp$sjv$1@news.netmar.com> References: <000a01c0a6e1$cac7ad70$a973fea9@neutrino> X-Complaints-To: abuse@newsone.net X-PNG: comp.databases.postgresql.admin X-MCC: mike@quadrent.net X-NewsOnePostHost: 202.56.206.34 X-NewsOnePostAddr: 202.56.206.34 To: pgsql-admin@postgresql.org X-Archive-Number: 200103/143 X-Sequence-Number: 991 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 In article <000a01c0a6e1$cac7ad70$a973fea9@neutrino>, "mike" writes: >as user postgres simply do the following: >createuser username > >that will promt you for a couple of questions, asking if you want that user >to beable to make databases and to add users. > >Mike >----- Original Message ----- >From: "Anatoly K. Lasareff" >To: >Cc: >Sent: Wednesday, March 07, 2001 2:42 AM >Subject: Re: cannot create new user in postgres > > >> >>>>> "j" == joydip writes: >> >> j> Hi all >> >> j> I have tried to configure the pg_hba.conf with >> >> j> local all >> j> trust >> j> host all 127.0.0.1 255.255.255.255 trust >> >> j> then i tried to run >> >> j> psql -h localhost template1 >> >> j> but any of my domain failing to use postgresql . >> >> j> They are showing error re no entry in pg_shadow. >> >> >> j> though it was running in root ok with user postgres >> >> j> Thanks in advance for the help >> >> Who is postgres superuser? Suppose it is 'pgsql', then try >> >> psql -U pgsql templateq >> >> -- >> Anatoly K. Lasareff Email: tolik@aaanet.ru >> http://tolikus.hq.aaanet.ru:8080 Phone: (8632)-710071 >> >> ---------------------------(end of broadcast)--------------------------- >> TIP 3: if posting/reading through Usenet, please send an appropriate >> subscribe-nomail command to majordomo@postgresql.org so that your >> message can get through to the mailing list cleanly >> > > >---------------------------(end of broadcast)--------------------------- >TIP 4: Don't 'kill -9' the postmaster ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web ----- http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups NewsOne.Net prohibits users from posting spam. If this or other posts made through NewsOne.Net violate posting guidelines, email abuse@newsone.net