• 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
Error message: NOT super-user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error message: NOT super-user


  • Subject: Error message: NOT super-user
  • From: Ricardo Diaz <email@hidden>
  • Date: Sat, 8 Sep 2007 18:11:09 +0000
  • Importance: Normal

Hi, I was trying to do:

shutdown -h now

from an NSTask in an awakeFromNib method, but it didn't work. So I tried to run it in the Terminal and got this message: NOT super-user.
I am the system administrator of my machine, why doesn't this work? Or, what should I do to make it work?

Thanks in advanced
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Error message: NOT super-user
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: [NSKeyedUnarchiver decodeObjectForKey:] bug during call to [NSDocumentController openUntitledDocumentAndDisplay: error:]
  • Next by Date: Re: Error message: NOT super-user
  • Previous by thread: Re: [NSKeyedUnarchiver decodeObjectForKey:] bug during call to [NSDocumentController openUntitledDocumentAndDisplay: error:]
  • Next by thread: Re: Error message: NOT super-user
  • Index(es):
    • Date
    • Thread