aboutsummaryrefslogtreecommitdiff
path: root/Linux-PAM/xtests/tst-pam_access2.sh
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 15:47:11 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 15:53:40 -0800
commit174ef428caf670848743ff1060d30972981a741e (patch)
tree8dba0ea7cddd1c26e2cefe9febd2584fa792528c /Linux-PAM/xtests/tst-pam_access2.sh
parentf5871e812510cdd089a605d8e6e1ec272b967a39 (diff)
parent9a4298687784e7812c8aeef6e0e97830febbf393 (diff)
downloadpam-174ef428caf670848743ff1060d30972981a741e.tar.gz
pam-174ef428caf670848743ff1060d30972981a741e.tar.bz2
pam-174ef428caf670848743ff1060d30972981a741e.zip
merge upstream version 0.99.8.1
Diffstat (limited to 'Linux-PAM/xtests/tst-pam_access2.sh')
-rwxr-xr-xLinux-PAM/xtests/tst-pam_access2.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/Linux-PAM/xtests/tst-pam_access2.sh b/Linux-PAM/xtests/tst-pam_access2.sh
new file mode 100755
index 00000000..c1b3c992
--- /dev/null
+++ b/Linux-PAM/xtests/tst-pam_access2.sh
@@ -0,0 +1,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