]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
fix 'Source' to 'Package' rename in apt-ftparchive
[apt.git] / apt-pkg / init.cc
index 82dff4ee8d86cee56565226a7b80466e4fe80379..f756eab26731ab2036b26a1803c2fa9f04980ba3 100644 (file)
@@ -89,12 +89,18 @@ bool pkgInitConfig(Configuration &Cnf)
    Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$");
 
    // Repository security
-   Cnf.CndSet("Acquire::AllowInsecureRepositories", false);
+   // FIXME: this is set to "true" for backward compatibility, once
+   //        jessie is out we want to change this to "false" to
+   //        improve security
+   Cnf.CndSet("Acquire::AllowInsecureRepositories", true);
    Cnf.CndSet("Acquire::AllowDowngradeToInsecureRepositories", false);
 
    // Default cdrom mount point
    Cnf.CndSet("Acquire::cdrom::mount", "/media/cdrom/");
 
+   // The default user we drop to in the methods
+   Cnf.CndSet("APT::Sandbox::User", "_apt");
+
    bool Res = true;
    
    // Read an alternate config file