ソースを参照

Use /var/empty as the homedir for _apt

Thanks to Axel Beckert
Michael Vogt 11 年 前
コミット
b98232208f
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  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