pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
createuser problem
3+ messages / 3 participants
[nested] [flat]

* createuser problem
@ 2001-02-13 10:09  fion yong <fion@kl.cybatron.com>
  0 siblings, 2 replies; 3+ messages in thread

From: fion yong @ 2001-02-13 10:09 UTC (permalink / raw)
  To: pgsql-sql

It gives the following error when i tried to  a new user

createuser demouser1
Connection to database 'template1' failed.
FATAL 1:  SetUserId: user 'fion' is not in 'pg_shadow'

how should i solve this problem?

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: createuser problem
@ 2001-02-14 15:19  Oliver Elphick <olly@lfix.co.uk>
  parent: fion yong <fion@kl.cybatron.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Oliver Elphick @ 2001-02-14 15:19 UTC (permalink / raw)
  To: fion yong <fion@kl.cybatron.com>; +Cc: pgsql-sql

"fion yong" wrote:
  >It gives the following error when i tried to  a new user
  >
  >createuser demouser1
  >Connection to database 'template1' failed.
  >FATAL 1:  SetUserId: user 'fion' is not in 'pg_shadow'
  >
  >how should i solve this problem?
 
Become user postgres before you try to run createuser.  (Or become any
user who has create user privilege.)

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "God be merciful unto us, and bless us; and cause his 
      face to shine upon us."          Psalms 67:1 





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: createuser problem
@ 2001-02-14 17:58  Jie Liang <jliang@ipinc.com>
  parent: fion yong <fion@kl.cybatron.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Jie Liang @ 2001-02-14 17:58 UTC (permalink / raw)
  To: fion yong <fion@kl.cybatron.com>; +Cc: pgsql-sql

run this as user 'postgres' instead of 'fion'

Jie LIANG

St. Bernard Software
Internet Products Inc.

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang@ipinc.com
www.stbernard.com
www.ipinc.com

On Tue, 13 Feb 2001, fion yong wrote:

> It gives the following error when i tried to  a new user
> 
> createuser demouser1
> Connection to database 'template1' failed.
> FATAL 1:  SetUserId: user 'fion' is not in 'pg_shadow'
> 
> how should i solve this problem?
> 
> 




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2001-02-14 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13 10:09 createuser problem fion yong <fion@kl.cybatron.com>
2001-02-14 15:19 ` Oliver Elphick <olly@lfix.co.uk>
2001-02-14 17:58 ` Jie Liang <jliang@ipinc.com>

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