sudoing into root
sudoing into root
- Subject: sudoing into root
- From: Gnarlodious <email@hidden>
- Date: Sun, 23 May 2004 00:51:15 -0600
I can do this in Terminal:
sudo -s
gzip -r /System/Library/StartupItems/mDNSResponder >
/System/Library/StartupItems/mDNSResponder.gz
Can you?
But I can't do it in Applescript:
do shell script "sudo -s" with administrator privileges
do shell script "gzip -r /System/Library/StartupItems/mDNSResponder >
mDNSResponder.gz"
-- > /bin/bash: line 1: password: command not found
What am I doing wrong?
-- Gnarlie
_______________________________________________
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.