summaryrefslogtreecommitdiff
path: root/ubuntu/scripts/audit-make-run.exp
blob: cab11cfd5e4af5dd7c1db65dccf058334349fd78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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"
expect "#"
send cat audit.rollup.log 
interact
exit 0