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

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