diff options
author | Ermal <eri@pfsense.org> | 2010-03-23 15:06:58 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-23 15:06:58 +0000 |
commit | a159da66b30e9301982bf5fa2c6b572d043534e8 (patch) | |
tree | 44b19e26d165b3551d815ae3437146ddac143a0d /config/spamd | |
parent | 57b1446ac5fb0fead3c545264978aa7896d28654 (diff) | |
download | pfsense-packages-a159da66b30e9301982bf5fa2c6b572d043534e8.tar.gz pfsense-packages-a159da66b30e9301982bf5fa2c6b572d043534e8.tar.bz2 pfsense-packages-a159da66b30e9301982bf5fa2c6b572d043534e8.zip |
Do the right and safe command to allow spamd to modify pf ruleset in 2.0.
Diffstat (limited to 'config/spamd')
-rw-r--r-- | config/spamd/spamd.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 +?> |