Re: Script to reboot from X into 9
Re: Script to reboot from X into 9
- Subject: Re: Script to reboot from X into 9
- From: Phi Sanders <email@hidden>
- Date: Fri, 8 Mar 2002 21:02:18 -0500
The following one-liner worked for me :
do shell script "/sbin/shutdown -r now" password "XXX" with administrator
privileges
~Phi
In a message sent on Friday, 2002 March, 08 @ 5:46 PM, by Mr Tea :
>
This from Phi Sanders
>
>
>
>
> "shutdown -r now" works from the terminal...
>
>
>
>
And can I script the terminal to do that?
>
>
When I tried, I got '/sbin/shutdown: Permission denied.'
>
>
T.
>
_______________________________________________
>
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.
_______________________________________________
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.