mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Revert "Update postgres auth map"
This reverts commit bad4ab51711f6f0cfa99f57a09f63d2cb5eddfe4.
This commit is contained in:
parent
3ef7f8aa49
commit
93173f28bd
1 changed files with 4 additions and 3 deletions
|
@ -26,13 +26,14 @@ in systemConfiguration {
|
||||||
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
|
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
|
||||||
|
|
||||||
authentication = mkOverride 10 ''
|
authentication = mkOverride 10 ''
|
||||||
# Type Database DBUser Authentication IdentMap
|
# Type Database DBUser Authentication IdentMap
|
||||||
local all @wheel,root,postgres trust
|
local sameuser all peer map=superuser_map
|
||||||
local sameuser all peer map=superuser_map
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
identMap = ''
|
identMap = ''
|
||||||
# Map System DBUser
|
# Map System DBUser
|
||||||
|
superuser_map root ^(.*)$
|
||||||
|
superuser_map postgres ^(.*)$
|
||||||
superuser_map /^(.*)$ \1
|
superuser_map /^(.*)$ \1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue