AW: [HACKERS] Re: [GENERAL] users in Postgresql
От | Zeugswetter Andreas SEV |
---|---|
Тема | AW: [HACKERS] Re: [GENERAL] users in Postgresql |
Дата | |
Msg-id | 219F68D65015D011A8E000006F8590C603FDC159@sdexcsrv1.f000.d0188.sd.spardat.at обсуждение исходный текст |
Ответы |
Re: AW: [HACKERS] Re: [GENERAL] users in Postgresql
|
Список | pgsql-hackers |
> > CREATE USER sql command updates the file, but an UPDATE on pg_shadow > > does not. > > How about INSERT INTO pg_shadow? Or how do you judge the > following excerpt > from the createuser script: > > QUERY="insert into pg_shadow \ > (usename, usesysid, usecreatedb, usetrace, usesuper, > usecatupd) \ > values \ > ('$NEWUSER', $SYSID, '$CANCREATE', 'f', '$CANADDUSER','f')" > > Fortunately (perhaps), I am getting rid of this as we're > speaking. The one > feature the createuser script has over the CREATE USER "SQL" > command is > that you can pick your system ID. Ignoring the question whether or not > this has any real purpose, it seems this is almost like > rolling dice since The sysid is essential for one of the authentication methods available in PostgreSQL (was it ident, I forgot) where the unix system password was used. Andreas
В списке pgsql-hackers по дате отправления: