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