Dear all,
My computer have many AIX SP UNIX servers needed to install a software.
The installer of the program required to input a initial password. In order
to speed up the installation, I want to write a script to accomplish this
task. However, I found that I cannot input a password to the install program
inside the script.
i.e.
install << EOF
option1
option2
...
initial_password
optionn
EOF
The script always stop at the "initial_password line. Do any one have idea
how to input the password to program inside the script?
For a simple reproduction of the case, we may try this script
passwd << EOF
old_password
new_password
new_password
EOF
Thanks a lots!
Henry Chui