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

/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