Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa/run sudo



> I wonder if there is a line-feed at the end of your password string?
> You need one, otherwise sudo will never finish reading the password,
> which seems to be the symptom you're experiencing.

You nailed that one right on the head, thanks! :-)

> You really should consider using the security framework rather than
> doing this.

I intend to in a future update (as soon as possible), but at this point, I'm
in a frantic hurry to get something out the door and I have no experience
yet with the security framework. Any pointers to any good, simple resources
for getting started with that beyond the Apple docs?

Thanks again!

-Mike

__________
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!
__________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Cocoa/run sudo (From: "Alastair J.Houghton" <email@hidden>)



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.