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

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