blob: 92ee007da38b8c3bdb7c0d41573eb22c67711d07 (
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 "#"
spawn cat audit.rollup.log
interact
exit
|