summaryrefslogtreecommitdiff
path: root/xtests/tst-pam_access2.sh
blob: c1b3c99275a09f27ff366cf1923142b6ffbd6828 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

/usr/sbin/groupadd -p '!!' tstpamaccess
/usr/sbin/useradd -p '!!' tstpamaccess
./tst-pam_access2
RET=$?
/usr/sbin/userdel -r tstpamaccess 2> /dev/null
/usr/sbin/groupdel tstpamaccess 2> /dev/null
exit $RET