Fixed /etc/sudoers permissions on deinstallation
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Thu, 17 Jul 2008 10:36:22 +0000 (10:36 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Thu, 17 Jul 2008 10:36:22 +0000 (10:36 +0000)
debian/postrm

index 257d192b5036bb8d726222ebd01b5b3f1ce180e6..40066810f4c890f4a018e74d7525d5876dbfc843 100644 (file)
@@ -22,6 +22,7 @@ case "$1" in
             deluser --remove-home oomailing
         fi
         grep -v mvoomail /etc/sudoers>/etc/sudoers.new
+        chmod 0440 /etc/sudoers.new
         mv /etc/sudoers.new /etc/sudoers
         ;;