Re: Do shell script
Re: Do shell script
- Subject: Re: Do shell script
- From: Matthew Stuckwisch <email@hidden>
- Date: Mon, 25 Nov 2002 15:28:27 -0600
How do I modify the sample AppleScript Studio application "Simple
Shell" so
that I can list firewall rules?
When I enter "sudo ipfw list", Simple Shell hangs instead of prompting
me
for a password. How do I detect sudo's password request?
do shell script "ipfw list" with administrator privileges [password
aString]
If you don't use the password extra, AS will prompt for the password.
Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa}(esperNET / GamesNet) | [E-mail]{email@hidden}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.