diff options
Diffstat (limited to 'xtests/run-xtests.sh')
-rwxr-xr-x | xtests/run-xtests.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xtests/run-xtests.sh b/xtests/run-xtests.sh index ff9a4dc1..e580e0ab 100755 --- a/xtests/run-xtests.sh +++ b/xtests/run-xtests.sh @@ -22,6 +22,10 @@ for config in access.conf group.conf time.conf limits.conf ; do mv /etc/security/$config /etc/security/$config-pam-xtests install -m 644 "${SRCDIR}"/$config /etc/security/$config done +[ -f /etc/shells ] && + mv /etc/shells /etc/shells-pam-xtests +install -m 644 "${SRCDIR}"/shells.conf /etc/shells + [ -f /etc/security/opasswd ] && mv /etc/security/opasswd /etc/security/opasswd-pam-xtests @@ -58,6 +62,9 @@ for config in access.conf group.conf time.conf limits.conf opasswd ; do fi done +[ -f "/etc/shells-pam-xtests" ] && + mv /etc/shells-pam-xtests /etc/shells + if test "$failed" -ne 0; then echo "===================" echo "$failed of $all tests failed" |