I’d like to do this:
do shell script "sudo pmset dim 1 spindown 1" user name "my_short_name" password "my_admin_PW"
Result? It complains about my password (worked perfectly in Panther with the admin priv. addon, doesn’t work in Tiger)
Leaving out the sudo gets a message saying pmset will only run in root.
What gives?
Reikon
#2
do shell script "pmset dim 1 spindown 1" user name "my_short_name" password "my_admin_PW" with administrator privileges
Should work.
And it does too, but I thought in Tiger the “with administrator privileges” was redundant.
Reikon
#4
Would’ve been better to have it anyway for backwards compatibility.