Monthly Archives: August 2007

do shellscript (applescript) with administrator privileges

set the_password to “password” do shell script “sudo ls /private/var/root/” password the_password with administrator privileges

Posted in Admin, Mac, tips tricks scripts Tagged with: , , , ,