]> git.saurik.com Git - apt.git/blobdiff - methods/rsh.cc
remove duplicated 'the' from guides doc-base abstract
[apt.git] / methods / rsh.cc
index 9d82a99e3dd8aa2e366bebec11ce87d7346b8fd8..4d133951f0bd85d8b2e1ffad5544cc76c29b1e2f 100644 (file)
@@ -398,6 +398,10 @@ RSHMethod::RSHMethod(std::string const &pProg) : aptMethod(pProg.c_str(),"1.0",S
 // ---------------------------------------------------------------------
 bool RSHMethod::Configuration(std::string Message)
 {
+   // enabling privilege dropping for this method requires configuration…
+   // â€¦ which is otherwise lifted straight from root, so use it by default.
+   _config->Set(std::string("Binary::") + Prog + "::APT::Sandbox::User", "");
+
    if (aptMethod::Configuration(Message) == false)
       return false;