nixpkgs/nixos/modules/services/databases
Oliver Charles 7de29bd26f Create the 'postgres' superuser
Old PostgreSQL installations were created using the 'root' database
user. In this case, we need to create a new 'postgres' account, as we
now assume that this is the superuser account.

Unfortunately, these machines will be left with a 'root' user as
well (which will have ownership of some databases). While PostgreSQL
does let you rename superuser accounts, you can only do that when you
are connected as a *different* database user. Thus we'd have to create a
special superuser account to do the renaming. As we default to using
ident authentication, we would have to create a system level user to do
this. This all feels rather complex, so I'm currently opting to keep the
'root' user on these old machines.
2014-04-06 12:38:01 +01:00
..
4store-endpoint.nix Use the "assertions" option instead of mkAssert 2013-10-30 18:47:44 +01:00
4store.nix Use the "assertions" option instead of mkAssert 2013-10-30 18:47:44 +01:00
couchdb.nix nixos/couchdb: fix stopping of service, by making it non-forking, a few other improvments 2014-03-10 11:08:05 +01:00
firebird.nix nixos: set all package options to have type package 2014-02-27 13:22:29 +01:00
memcached.nix memcached: set uid to make it work with #1076 2013-12-13 10:09:08 +01:00
mongodb.nix nixos: set all package options to have type package 2014-02-27 13:22:29 +01:00
mysql.nix mysql service: Shutdown with normal systemd SIGTERM instead of mysqladmin 2014-03-19 08:41:07 +01:00
openldap.nix Added openldap user, group and configure service so its not running as root. 2013-11-28 22:21:50 +01:00
postgresql.nix Create the 'postgres' superuser 2014-04-06 12:38:01 +01:00
redis.nix nixos: set all package options to have type package 2014-02-27 13:22:29 +01:00
virtuoso.nix Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00