/usr/sbin/gm-set_gm-dbo_password is in gnumed-server 16.17-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh
#==============================================================
# author: Karsten Hilbert
# license: GPL v2 or later
#
# This wrapper allows setting the password for gm-dbo.
#
# It must be run as root.
#
#==============================================================
PASSWD="$1"
SQL="ALTER ROLE \\\"gm-dbo\\\" ENCRYPTED PASSWORD '${PASSWD}';"
su -c "psql -d template1 -c \"${SQL}\"" -l postgres
#==============================================================
|