#400567 dbconfig-common: please provide a way to add multiple users with less privileges

#400567#5
Date:
2006-11-27 08:29:21 UTC
From:
To:
Hi,

I find myself wanting to add multiple database users through
dbconfig-common, in my postinst script.  I have multiple daemons
accessing a mysql database.  I would like a separate user for each, so
that I can tell what daemon is running what query based upon the user
that's logged in.  I also want to only give the daemon users SELECT
privileges, while dbconfig-common grants ALL to the user it creates.

It would also be nice if there was a way to specify what privileges the
database user(s) have.  I would think it would be pretty common for a
package to want to create a single user with only SELECT privileges
(say, a web app that the admin might not overly trust in terms of security).

#400567#10
Date:
2006-11-29 20:07:22 UTC
From:
To:
hey dilinger (x3),

yes, this would be a really cool feature.  feel free to start
brainstorming the implementation details :)


	sean