Automation software installation
Hi all
I am in process of automating a particuler software development environment on Linux (Cent os). The automation script is supposed not to have any user interaction after it is started. But still I have two problems I have no clue about them
1)How to switch between the super user and the normal user using the script. Because for the super user, there is a password prompt
2)How do the script provide a response when prompted to typical yes/no questions (ex:do you want to install it or not ? Then the script should say yes ). Can I read it from a file and give it ?
I would be very thankful f somebody can give some help.
|