RE: Error message: NOT super-user
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