From be7f532680a9f11bcfe0b802c5b17c1d857e0b15 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" <kop@karlpinc.com> Date: Wed, 13 Sep 2023 09:42:29 -0500 Subject: [PATCH] Improve docs --- make_files/make_db.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/make_files/make_db.mk b/make_files/make_db.mk index 1a7a079..3e9cc72 100644 --- a/make_files/make_db.mk +++ b/make_files/make_db.mk @@ -458,7 +458,7 @@ $(DB_TARGETS) db/creategroups.sql: %.sql: %.m4 $(DB_DEPENDS) ## ## 1) If you already have a Postgres role that can login, create roles, and ## create databases then that role should be used as the administrative -## user. Otherwise, first create an administrative user with +## user. Otherwise, first create an administrative user (as root) with ## "create-adminuser". ## ## 2) Use the administrative user to create the "group" roles @@ -528,10 +528,8 @@ create-adminuser: | su postgres -c 'psql -h $(HOST) -d postgres -U postgres' ## create-groups Create the roles SokweDB uses for permission groups. -## (See the db/README.) Note that the "admin" role has -## permission to create databases and create new users -## (roles). The ADMINUSER is used to create the new -## roles. +## (See the db/README.) The ADMINUSER is used to +## create the new roles. .PHONY: create-groups create-groups: db/creategroups.sql cat db/creategroups.sql \ -- 2.34.1