Obrigado.
[]'s

Em 30 de junho de 2011 12:09, Fábio Telles Rodriguez <[email protected]
> escreveu:

> Em 30 de junho de 2011 12:06, Eduardo Correa
> <[email protected]> escreveu:
> > Obrigado senhores,
> > funcionou perfeitamente, o único problema com esse método é se crescer
> muito
> > o número de usuários.
> > Isso funciona com grupos?
>
> Funciona sim. É só colocar um '+' na frente, veja:
>
> "Specifies which database user name(s) this record matches. The value
> all specifies that it matches all users. Otherwise, this is either the
> name of a specific database user, or a group name preceded by +.
> (Recall that there is no real distinction between users and groups in
> PostgreSQL; a + mark really means "match any of the roles that are
> directly or indirectly members of this role", while a name without a +
> mark matches only that specific role.) Multiple user names can be
> supplied by separating them with commas. A separate file containing
> user names can be specified by preceding the file name with @. "
>
> > Dá pra melhorar o gerenciamento colocando vários usuários em um grupo, e
> > colocando esse grupo do pg_hba.conf.
>
> Essa é a ideia. :-)
>
> --
> Atenciosamente,
> Fábio Telles Rodriguez
> blog: http://www.midstorm.org/~telles/
> e-mail / gtalk / MSN: [email protected]
> Skype: fabio_telles
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>



-- 
Eduardo R. Corrêa
----------------------------------------------------------------------------
"Deus está morto" - Friedrich Nietzche, 1882
"Nietzche está morto" - Deus, 25 de Agosto de 1900
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a