Received: from e009.paris-88.cybercable.fr (IDENT:root@e009.paris-88.cybercable.fr [212.198.88.9]) by hub.org (8.10.1/8.10.1) with ESMTP id e5J8HkM02364 for ; Mon, 19 Jun 2000 04:17:46 -0400 (EDT) Received: from agen.int.ghs (agen.int.ghs [192.168.200.21]) by e009.paris-88.cybercable.fr (8.8.7/8.8.7) with SMTP id KAA05103; Mon, 19 Jun 2000 10:17:35 +0200 Received: by agen.int.ghs with Microsoft Mail id <01BFD9D7.9691D940@agen.int.ghs>; Mon, 19 Jun 2000 10:17:35 +0200 Message-ID: <01BFD9D7.9691D940@agen.int.ghs> From: Nicolas Huillard To: "'Peter Eisentraut'" , R D Cc: "pgsql-admin@postgresql.org" Subject: RE: users & groups Date: Mon, 19 Jun 2000 10:17:34 +0200 Encoding: 43 TEXT X-Archive-Number: 200006/111 I think all that works in 7.0, not 6.5 ? (after RTFM a few months ago) Nicolas Huillard -----Message d'origine----- De: Peter Eisentraut [SMTP:peter_e@gmx.net] Date: dimanche 18 juin 2000 16:17 A: R D Cc: pgsql-admin@postgresql.org Objet: Re: users & groups R D writes: > 1. If I'm using different password files for each > database can I grant or revoke privileges to this > users without creating the same users in pg_user > table? No, you always have to use CREATE USER. Btw., I think we're pondering removing the secondary password file feature sometime; would you care to explain why you think you need it? > 2. How can I add a user in more than one GROUP? ALTER GROUP foo ADD USER bar; ALTER GROUP foo2 ADD USER bar; > How can I add an existing user to a new group? CREATE GROUP foo WITH USER bar1, bar2; > How can I remove a user from some group? ALTER GROUP foo DROP USER bar; RTFM :) -- Peter Eisentraut Sernanders vag 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden