]> code.citadel.org Git - citadel.git/commitdiff
chkpwd needs to be owned rooot:root, flags 04755
authorWilfried Göesgens <willi@citadel.org>
Tue, 31 Jan 2006 22:37:12 +0000 (22:37 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 31 Jan 2006 22:37:12 +0000 (22:37 +0000)
citadel/ChangeLog
citadel/setup.c

index 5ada45449b097a191684e1546c2adbb1c4d60abd..9ab86dc856ea7bf3530c3ca47ae521129d9cc869 100644 (file)
@@ -1,5 +1,8 @@
 $Id$
 
+Di Jan 31 23:32:38 CET 2006 dothebart
+  chkpwd needs to be owned rooot:root, flags 04755
+
 Tue Jan 31 10:39:42 EST 2006 ajc
 * client_getln() now strips only the trailing CR/LF instead of "all trailing
   nonprintables."  The old behavior was mangling international character sets.
index 593600fedc5f4179b4570ec5f421bcd311be47f7..e77d6529e64ffc9b4f7166b69fe1e04a44b290a7 100644 (file)
@@ -1295,7 +1295,7 @@ NEW_INST:
        snprintf(aaa, sizeof aaa,
                         "%schkpwd",
                         ctdl_sbin_dir);
-       chown(aaa, config.c_ctdluid, gid);
+       chown(aaa,0,0); /*  config.c_ctdluid, gid); chkpwd needs to be root owned*/
        sleep(1);
        progress("Setting file permissions", 3, 4);
        chmod(aaa, 04755);