| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jun 14, 2006, at 12:48 PM, "matt jaffa" <email@hidden> wrote:
Yes I am running as a root process.
On 6/14/06, John Francini <email@hidden> wrote:
/sbin/shutdown must be run by root. Running as a user with Administrator privilege is not sufficient.
Is the parent process running as root or setuid to root?
John
On 14 Jun 2006, at 15:15, matt jaffa wrote:
Ok so I admit I read it wrong regarding the return status, always got
0 for everything else I executed so I assumed 0 good and only -1 was
returned if bad.
soo I am getting 32256 by executing system("/sbin/shutdown -r now");
Matt,
It's a very good thing that you are getting this error.
= Mike
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.