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

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