title: Storing system-wide DB connection password for a Python module
body: <p>I have a written a Python module which due to its specifics needs to have a MySQL database connection. Right now, details of this connection (host, database, username and password to connect with) are stored in /etc/mymodule.conf in plaintext, which is obviously not a good idea.</p>
  
  <p>Supposedly, the /etc/mymodule.conf file is edited by the root user after the module is installed, since the module and its database may be used by all users of a Unix system.</p>
  
  <p>How should I securely store the password instead?</p>