[Pkg-voip-commits] r3434 - freepbx/trunk/debian
Diego Iastrubni
elcuco-guest at alioth.debian.org
Wed Apr 18 14:09:58 UTC 2007
Author: elcuco-guest
Date: 2007-04-18 14:09:58 +0000 (Wed, 18 Apr 2007)
New Revision: 3434
Modified:
freepbx/trunk/debian/freepbx-common.postinst
Log:
amportal.conf contains passwords: protect it, by making it non readable by anyone
outside the group "asterisk"
Modified: freepbx/trunk/debian/freepbx-common.postinst
===================================================================
--- freepbx/trunk/debian/freepbx-common.postinst 2007-04-18 13:58:42 UTC (rev 3433)
+++ freepbx/trunk/debian/freepbx-common.postinst 2007-04-18 14:09:58 UTC (rev 3434)
@@ -117,6 +117,11 @@
issue_install
fi
+ # amportal.conf contains passwords, it should not be wold
+ # readable, adjust permissions
+ # reported upstread as: http://freepbx.org/trac/ticket/1878
+ chown asterisk: /etc/amportal.conf
+ chmod 640 /etc/amportal.conf
# list of web-servers supported.
# TODO: fill this list using 'apt-cache show httpd-cgi'
More information about the Pkg-voip-commits
mailing list