• 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
sudo shutdown -c now
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sudo shutdown -c now


  • Subject: sudo shutdown -c now
  • From: Lorenzo <email@hidden>
  • Date: Tue, 07 Mar 2006 10:02:08 +0100

Hi,
I would like to turn off the machine when a given event occurs.
I tried:

    shutdown -c now

and it works only with superuser, e.g.

    sudo shutdown -c now

How can I shutdown the machine in case the user is not a superuser?



Best Regards
--
Lorenzo
email: email@hidden

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: sudo shutdown -c now
      • From: "Finlay Dobbie" <email@hidden>
    • Re: sudo shutdown -c now
      • From: Greg Herlihy <email@hidden>
  • Prev by Date: Re: unreliability of NSWorkspace selectFile
  • Next by Date: Re: sudo shutdown -c now
  • Previous by thread: Re: drag & drop and the "+" sign
  • Next by thread: Re: sudo shutdown -c now
  • Index(es):
    • Date
    • Thread