From a159da66b30e9301982bf5fa2c6b572d043534e8 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 23 Mar 2010 15:06:58 +0000 Subject: Do the right and safe command to allow spamd to modify pf ruleset in 2.0. --- config/spamd/spamd.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc index 8747df29..6a078682 100644 --- a/config/spamd/spamd.inc +++ b/config/spamd/spamd.inc @@ -245,7 +245,7 @@ function custom_php_install_command() { system("touch /var/db/whitelist.txt"); system("touch /var/db/blacklist.txt"); sync_package_spamd(); - exec("pw user mod_spamd -u 0"); + exec("pw usermod _spamd -g proxy -G _spamd,proxy"); } function custom_php_deinstall_command() { @@ -320,4 +320,4 @@ function spamd_validate_input($post, $input_errors) { } } -?> \ No newline at end of file +?> -- cgit v1.2.3