summaryrefslogtreecommitdiff
path: root/ubuntu/scripts/audit-make-run.exp
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-04-22 13:15:27 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-04-22 15:38:48 +0530
commit23203f9f686e0d2268d4165f26b0efd30bd7c8a5 (patch)
treeae9267d1fa770e7461dc8c0bb36bcdc2db4bdd81 /ubuntu/scripts/audit-make-run.exp
parent0046279f19678ae69d4ae93c1b4fc733eeb1dd53 (diff)
Ubunutu: audit-test: Adding new audit-test
The Linux audit framework provides a CAPP-compliant (Controlled Access Protection Profiles) auditing system that reliably collects information about any security-relevant (or non-security-relevant) event on a system. It can help you track actions performed on a system. Kconfig required - CONFIG_AUDIT=y - CONFIG_HAVE_ARCH_AUDITSYSCALL=y - CONFIG_AUDITSYSCALL=y - CONFIG_AUDIT_WATCH=y - CONFIG_AUDIT_TREE=y - CONFIG_INTEGRITY_AUDIT=y - CONFIG_AUDIT_GENERIC=y - CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y - CONFIG_AUDIT_COMPAT_GENERIC=y Audit test suite validates syscall, filter and audit-tools. Change-Id: I7e1bce102021bd63b40fa66a4292c3d6f53fff25 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'ubuntu/scripts/audit-make-run.exp')
-rwxr-xr-xubuntu/scripts/audit-make-run.exp13
1 files changed, 13 insertions, 0 deletions
diff --git a/ubuntu/scripts/audit-make-run.exp b/ubuntu/scripts/audit-make-run.exp
new file mode 100755
index 0000000..aa27c66
--- /dev/null
+++ b/ubuntu/scripts/audit-make-run.exp
@@ -0,0 +1,13 @@
+#!/usr/bin/expect
+set timeout -1
+
+spawn passwd eal
+expect "Enter new UNIX password:"
+send "admin12\n"
+expect "Retype new UNIX password:"
+send "admin12\n"
+spawn make run
+expect "Login user password:"
+send "admin12\n"
+interact
+exit