Skip to content

Commit 15928d6

Browse files
committed
DLPX-86539 CIS: postgres user account settings
1 parent 9e78010 commit 15928d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debian/postinst

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ configure)
7575
--shell /bin/bash --ingroup postgres \
7676
--gecos "PostgreSQL administrator" --uid 65437 \
7777
--disabled-password postgres
78+
chmod 0750 /var/lib/postgresql
7879
elif [[ $(id -u postgres) -ne 65437 ]]; then
7980
echo "ERROR: postgres id $(id -u postgres) != 65437" >&2
8081
exit 1

0 commit comments

Comments
 (0)