pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pgsql-admin <pgsql-admin@fc.emc.com.ph>
To: joydip@cal2.vsnl.net.in
Cc: pgsql-admin@postgresql.org
Date: Tue, 20 Mar 2001 11:19:50 +0800
Message-ID: <fc.000f567200a5f325000f567200a5f325.a5f36b@fc.emc.com.ph> (raw)

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'.






Message-ID: <fc.000f567200a5f325000f567200a5f325.a5f36b@fc.emc.com.ph>
Permalink:  ../fc.000f567200a5f325000f567200a5f325.a5f36b@fc.emc.com.ph/
Also on:    postgresql.org/message-id/fc.000f567200a5f325000f567200a5f325.a5f36b@fc.emc.com.ph

 · 

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: pgsql-admin@fc.emc.com.ph, joydip@cal2.vsnl.net.in
  Subject: Re: 
  In-Reply-To: <fc.000f567200a5f325000f567200a5f325.a5f36b@fc.emc.com.ph>
  References: <fc.000f567200a5f325000f567200a5f325.a5f36b@fc.emc.com.ph>

* 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