1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/nixos/modules
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
..
config power-management: Don't enable acpid. 2014-03-15 12:17:00 +01:00
hardware Upgrade bumblebee and add nixos module 2014-02-09 15:09:41 +01:00
installer nixos-hardware-scan: Detect QEMU 2014-03-30 17:27:18 +02:00
misc nixos: add minecraft-server service 2014-03-29 05:31:27 -05:00
profiles Another attempt to fix the installer test 2014-03-30 16:53:23 +02:00
programs Merge branch 'zsh' of git://github.com/ttuegel/nixpkgs 2014-03-15 13:11:38 -04:00
security nixos: add Duo Security module 2014-03-16 07:11:50 -05:00
services Create the 'postgres' superuser 2014-04-06 12:38:01 +01:00
system systemd: Add support for path units. 2014-03-31 12:33:25 +02:00
tasks nixos: Add ZFS auto-snapshotting module 2014-03-15 01:56:42 +01:00
testing Rename linuxManualConfig to buildLinux 2014-01-21 20:05:55 -05:00
virtualisation Fix VirtualBox image generation 2014-03-31 11:15:11 +02:00
module-list.nix nixos: add minecraft-server service 2014-03-29 05:31:27 -05:00
rename.nix move windowManager.xbmc to desktopManager.xbmc 2014-03-12 09:20:59 +01:00