I have an applescript that allows me to enter most basic unix commands, but the trouble is, when it outputs the information, I can’t type a response.
For example I type
sudo passwd root
and it puts out
you understand the responsiblility blah blah blah
password:
I want to be able to put in the password and set it by pressing enter.
http://img140.imageshack.us/my.php?image=1yo4.png
http://img169.imageshack.us/my.php?image=2yj0.png
See? I Need to be able to put something after password and press enter. I can’t use terminal, so I was wondering if there was an AppleScript solution. If anyone could tell me how to make a whole new script for the sole purpose of “sudo passwd root” that would be cool, or modifying the script I already have so I could just type it in afterwards. Thanks
Model: iBook G4
Browser: Safari 417.9.3
Operating System: Mac OS X (10.4)