Browse Source

Use /var/empty as the homedir for _apt

Thanks to Axel Beckert
Michael Vogt 9 years ago
parent
commit
b98232208f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      debian/apt.postinst

+ 2 - 2
debian/apt.postinst

@@ -27,8 +27,8 @@ case "$1" in
 	fi
 
         # add unprivileged user for the apt methods
-        adduser --force-badname --system --no-create-home \
-            --quiet _apt || true
+        adduser --force-badname --system -home /var/empty \
+            --no-create-home --quiet _apt || true
         chown -R _apt:root \
             /var/lib/apt/lists \
             /var/cache/apt/archives