How to enter the root password into terminal using apple script
How to enter the root password into terminal using apple script
- Subject: How to enter the root password into terminal using apple script
- From: "selva.ganesan" <email@hidden>
- Date: Mon, 06 Jun 2005 00:00:16 +0530
hi all,
I am using this script.
tell application "Terminal" activate do script
with command "sudo ls" end tell
It is opening the terminal and asking the password
for root but terminal should take the password automatically.
Is there any way to supply password directly
from the script?
Regards,
selva
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden