mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-23 17:53:40 +08:00
b12b648d83
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.
8 lines
128 B
Bash
Executable File
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
|