[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

removing MySQL data on purge



Upon purging a package, it is expected that all installed data should be
removed. The package "diogenes" installs a MySQL database and a MySQL
user by prompting the user via debconf for the admin user/password.

I want to give users the possibility to remove that database and user
when the package is purged. However, this means knowing the MySQL admin
password at removal time. What is the best way to go as it is probably a
very bad idea to keep the admin user/password stored in debconf's
database?

Many thanks in advance!

Jeremy

-- 
http://www.jerryweb.org/         : JerryWeb.org
http://sailcut.sourceforge.net/  : Sailcut CAD
http://mpf70.sourceforge.net/    : MPman MP-F70 support for Linux



Reply to: