From f703d105f470f0494db1a9145efcdb6332e81cdc Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 30 Apr 2015 14:40:11 +0100 Subject: Add the site user to the 'adm' group. This is so that they can access mail log files. adm group members have access to read log files in /var/log --- script/site-specific-install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script/site-specific-install.sh') diff --git a/script/site-specific-install.sh b/script/site-specific-install.sh index ac2280e72..9358103b2 100755 --- a/script/site-specific-install.sh +++ b/script/site-specific-install.sh @@ -180,6 +180,9 @@ postfix reload install_website_packages +# Give the unix user membership of the adm group so that they can read the mail log files +usermod -a -G adm "$UNIX_USER" + # Make the PostgreSQL user a superuser to avoid the irritating error: # PG::Error: ERROR: permission denied: "RI_ConstraintTrigger_16564" is a system trigger # This is only needed for loading the sample data, so the superuser -- cgit v1.2.3