Home » Questions » Computers [ Ask a new question ]

How can I pass Root Password to a script

How can I pass Root Password to a script

I have the root password in one of my scripts and I want to launch another script which requires root permission from this script. How can I use the root password which I have so that I do not have to ask the user the root password which launching 2nd script.

Asked by: Guest | Views: 223
Total answers/comments: 0