Received: from mail_exchange.westcountrypublications.co.uk ([195.171.163.135]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g15G0xl78767 for ; Tue, 5 Feb 2002 11:01:06 -0500 (EST) (envelope-from SHenshall@westcountrypublications.co.uk) Received: by MAIL_EXCHANGE with Internet Mail Service (5.5.2650.21) id <1HK8PHLX>; Tue, 5 Feb 2002 15:57:02 -0000 Message-ID: From: "Henshall, Stuart - WCP" To: "'Andy Ruhl'" , sreedhar Cc: PostgreSQL Subject: Re: Where can I get Users and Roles information in PostgreSQL Date: Tue, 5 Feb 2002 15:57:01 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200202/26 X-Sequence-Number: 3188 Have a look at the system views pg_user and pg_group - Stuart > -----Original Message----- > From: Andy Ruhl [mailto:acruhl@sdf.lonestar.org] > Sent: 04 February 2002 13:33 > To: sreedhar > Cc: PostgreSQL > Subject: Re: Where can I get Users and Roles information in PostgreSQL > > > On Mon, 4 Feb 2002, sreedhar wrote: > > > Hi all, > > > > I am new bee to PostgreSQL. Where can I get Users and Roles > information in > > PostgreSQL. > > > > eg : In SQL-SERVER we can get users information using > 'sysusers' table. > > > > advance thanks for helping, > > I'm new too, so this may not be the best answer, but it's > useful anyway. > > If you are a superuser (ie: you can create other users), try this: > > select * from pg_shadow; > > Warning: Passwords will be shown in plain text. If you don't > want anyone > to see, make sure nobody is standing behind you! > > Andy > > -- > acruhl@sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > >