|
|
@@ -237,7 +237,10 @@ AutoReqProv: no
|
|
|
%if "%{with_pam}" == "yes"
|
|
|
l_authmech="pam"
|
|
|
%else
|
|
|
- l_authmech="getpwent"
|
|
|
+ case "%{l_target}" in
|
|
|
+ *-linux* | *-solaris* ) l_authmech="shadow" ;;
|
|
|
+ * ) l_authmech="getpwent" ;;
|
|
|
+ esac
|
|
|
%endif
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
|