From ebec74ba892bbc419640f60c60a49c7d9bbee274 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 17 Jun 2003 14:32:30 +0000 Subject: [PATCH] use $PAM_SO_SUFFIX --- scripts/pam.req | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/pam.req b/scripts/pam.req index fe8822a..b321d4f 100755 --- a/scripts/pam.req +++ b/scripts/pam.req @@ -26,7 +26,10 @@ file="$1" head -1 "$file" |grep -qs '^#%PAM' || exit 0 # pam_module.so -sed -ne 's#^\(account\|auth\|password\|session\)[[:space:]]\+\(requisite\|required\|sufficient\|optional\)[[:space:]]\+\(/lib/security/\)\?\([^[:space:]]\+\).*#\4#pg' <"$file" |sort -u +sed -ne 's#^\(account\|auth\|password\|session\)[[:space:]]\+\(requisite\|required\|sufficient\|optional\)[[:space:]]\+\(/lib/security/\)\?\([^.[:space:]]\+\.so\)[[:space:]].*#\4'$PAM_SO_SUFFIX'#pg' <"$file" |sort -u + +# pam_module.so* +sed -ne 's#^\(account\|auth\|password\|session\)[[:space:]]\+\(requisite\|required\|sufficient\|optional\)[[:space:]]\+\(/lib/security/\)\?\([^.[:space:]]\+\.so[^[:space:]]\+\).*#\4#pg' <"$file" |sort -u # libpam(include) sed -ne 's#^\(account\|auth\|password\|session\)[[:space:]]\+include[[:space:]].*#libpam(include)#pg' <"$file" |sort -u