From 20e30e42e2221d6c16570612099a9d8b85c1e320 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 27 Dec 2021 16:40:40 +0800 Subject: [PATCH 1/2] dependencies: list Linux-PAM as an optional dependency of util-linux --- appendices/dependencies.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 9053da5ec..3d5787a33 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -3024,6 +3024,8 @@ Linux-PAM + and smartmontools From 6ecd06927ba617a521dafc6c4feb1b60c6941769 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 27 Dec 2021 20:54:46 +0800 Subject: [PATCH 2/2] shadow: remove explicit --disable-{su,runuser} for sync with BLFS. They are automatically disabled when PAM is unavailable. --- chapter08/util-linux.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index 341310556..3b7a6c4d2 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -50,9 +50,7 @@ --disable-chfn-chsh \ --disable-login \ --disable-nologin \ - --disable-su \ --disable-setpriv \ - --disable-runuser \ --disable-pylibmount \ --disable-static \ --without-python \ @@ -66,9 +64,7 @@ --disable-chfn-chsh \ --disable-login \ --disable-nologin \ - --disable-su \ --disable-setpriv \ - --disable-runuser \ --disable-pylibmount \ --disable-static \ --without-python \