Service Asking For Password

Joined
Feb 20, 2010
Messages
1
Reaction score
0
I have created a service with Automator to zap (rm -r) selected files and folders.
It works, but it asks me for my password when I use it.
Is there some way to eliminate this authentication step?

Here is the service workflow script:
on run {input, parameters}
repeat with anItem in input
set anItem to quoted form of POSIX path of anItem
do shell script "rm -r " & anItempassword "MyPassword" with administrator privileges
end repeat
end run


Here is the message Automator pops up when I run it:
Automator Runner wants to make changes.
Type your password to allow this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top