mysql: grant users ALL perms on their dbs, remove mysql-fixperms Users were not given DROP permissions at the database level since that came with the risk of the user dropping their own database, with DROP permissions for individual tables granted by mysql-fixperms. This safeguard unfortunately breaks most software since installation and migration scripts usually assume a database wide grant has been issued and they can use SQL like "DROP TABLE ... IF EXISTS". Given this reality, grant users ALL permissions to their database. Regular backups are critical, and can mitigate the risk as best as it can be.
Add vmail command for changing password when you know the current password Not 100% sure if this the best way, but the members portal was tied to *the* mail node, which is not good to begin with, and breaks when there are multiple mail nodes. * Replaces vmailpasswd.c, which is an awful program (passed password on the command line revealing it to `ps' and only supports a local filesystem userdb). * Restricted to users with the priv `vmail' for now, and only used by the portal. Not much worth in exposing generally it seems (vmail users cannot login to any shell machines, at least at hcoop) * Includes helper python program to run crypt() (better than C at least...) * New function to parse the userdb into a StringMap (a better approach is possible, similar to the Vmail.list). Will be used to compile the database for Dovecot later. * New binary `domtool-portal' to expose replacement vmailpasswd command
Add query for existence of package Used by the portal to determine if a package exists, rather than querying the local apt. The implementation is copied from the portal mostly, and is probably less than ideal: I think the return value of apt-cache could be used, but the man page is unclear and this works so...