stephan: server/perl-kolab/Kolab-Conf Conf.pm,1.5,1.6
cvs at intevation.de
cvs at intevation.de
Mon Apr 26 11:47:04 CEST 2004
Author: stephan
Update of /kolabrepository/server/perl-kolab/Kolab-Conf
In directory doto:/tmp/cvs-serv22067
Modified Files:
Conf.pm
Log Message:
Patch applied to harden slapd.conf (make it _not_ world readable)
Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-Conf/Conf.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Conf.pm 22 Apr 2004 11:50:24 -0000 1.5
+++ Conf.pm 26 Apr 2004 09:47:02 -0000 1.6
@@ -108,6 +108,7 @@
move($tmpfile, $cfg);
chown($Kolab::config{'kolab_uid'}, $Kolab::config{'kolab_gid'}, $cfg);
+ chmod(0600, $cfg) if ($cfg =~ /openldap/);
if (-f $oldcfg) {
my $rc = `diff -q $cfg $oldcfg`;
More information about the commits
mailing list