• 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: Shut down now
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shut down now


  • Subject: Re: Shut down now
  • From: "John C. Welch" <email@hidden>
  • Date: Tue, 03 May 2005 09:32:08 -0500

On 5/3/05 09:25, "Gnarlodious" <email@hidden> wrote:

>> how to make
>> my script shut down even if an application doesn't want to quit
>
> do shellscript "shutdown -h now" with administrator privileges
>
> You may need to enter a password, mine is disabled in shell so you may need
> to set that up first. Or someone else may know how to send the password with
> the command.

Store the password in the keychain, and use that along with the password for
administrator privileges.

john

--
"I think love is a snowmobile racing across the arctic tundra which suddenly
flips, pinning you underneath.  At night, the ice-weasels come...."

Matt Groening


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Shut down now (From: Gnarlodious <email@hidden>)

  • Prev by Date: Shut down now
  • Next by Date: What happens with Tiger... and my Apple PowerBook 15" Alu, 1.5 SD/512/80 ?
  • Previous by thread: Shut down now
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread