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

RE: Error message: NOT super-user


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

>> 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?
>
>If it says that you need to be the super-user, it means you need to
>run it with root privileges. But if you really need to shut down the
>computer for some reason, then you ought to use NSAppleScript and
>System Events instead. That won't require root privileges.
>
>Nick Zitzmann
>

Yeah I want to do it this way. I tried using:

su

but I can't type anything in "Password:", I also tried typing it blindly and hitting enter but it didn't work.
_________________________________________________________________
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: "I. Savant" <email@hidden>
  • Prev by Date: Re: Error message: NOT super-user
  • Next by Date: Re: Error message: NOT super-user
  • Previous by thread: Re: Error message: NOT super-user
  • Next by thread: Re: Error message: NOT super-user
  • Index(es):
    • Date
    • Thread