Hi! >> > this is by design. in most cases an application user should not need >> > administrative privileges. >> >> I do agree with that. >> Isn't the script at >> /usr/share/dbconfig-common/data/package/install/pgsql >> an "administrative" one? Should't it be running with the >> "administrative user" instead of the application user? > > no, that's run as the standard user. see: > > http://people.debian.org/~seanius/policy/examples/dbconfig-common/doc/dbconfig-common-using.html#bootstrap
Oops! I guess I had read it, and then forgot about it... sorry! I probably didn't pay attention because I thought I would not need it. ;-) Well... what I need is a way to create schemas. Since it will be created by the administrator, I have to know the dbc_dbuser. So, do you think the correct way to solve the problem would be to use a shell script? I mean, the script at: /usr/share/dbconfig-common/scripts/PACKAGE/install/DBTYPE In that case, I would have to source /etc/dbconfig-common/PACKAGE.conf to get the value of dbc_dbuser. If you think this is the way I am supposed to solve it, then you can close the bug, since it was not even a bug. :-) But I would like to know about the implications of granting the privileges to create schema on this database to the dbc_dbuser. Thank you very much for your good work. André Caldas. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

