linux-pam/xtests/tst-pam_unix1.sh
Thorsten Kukuk b12b648d83 Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------

2007-01-31  Thorsten Kukuk  <kukuk@thkukuk.de>

        * xtests/Makefile.am: Add new pam_unix.so tests
        * xtests/run-xtests.sh: Prefer shell scripts (wrapper)
        over binaries.
        * xtests/tst-pam_cracklib1.c: Fix typo.
        * xtests/tst-pam_unix1.c: New, for sucurity fix.
        * xtests/tst-pam_unix1.pamd: New.
        * xtests/tst-pam_unix1.sh: New.
        * xtests/tst-pam_unix2.c: New, for crypt checks.
        * xtests/tst-pam_unix2.pamd: New.
        * xtests/tst-pam_unix2.sh: New.
        * xtests/tst-pam_unix3.c: New, for bigcrypt checks.
        * xtests/tst-pam_unix3.pamd: New.
        * xtests/tst-pam_unix3.sh: New.
2007-01-31 19:19:44 +00:00

8 lines
128 B
Bash
Executable File

#!/bin/bash
/usr/sbin/useradd -p '!!' tstpamunix
./tst-pam_unix1
RET=$?
/usr/sbin/userdel -r tstpamunix 2> /dev/null
exit $RET