• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script to reboot from X into 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Script to reboot from X into 9 (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: Scripting Palm Desktop
  • Next by Date: Re: Scripting Palm Desktop
  • Previous by thread: Re: Script to reboot from X into 9
  • Next by thread: Re: Script to reboot from X into 9
  • Index(es):
    • Date
    • Thread