Re: UNIX 'su' using cocoa (admin/root user authentication)
Re: UNIX 'su' using cocoa (admin/root user authentication)
- Subject: Re: UNIX 'su' using cocoa (admin/root user authentication)
- From: Jeff Harrell <email@hidden>
- Date: Mon, 23 Jun 2003 01:22:13 -0500
I don't know what you're trying to do, exactly, but in general terms
such a thing would be a pretty bad idea. It is not generally
permissible for programs started with user privilege to elevate
themselves to superuser privilege. For that, we have the setuid
feature, and even that's a pretty awful idea most of the time.
Can you post more information about what you're trying to do? Maybe one
or another of us can be more helpful given more information.
On Monday, June 23, 2003, at 01:12 AM, Stefan Pantke wrote:
Some programs use a (similar) dialog to request a password for
an admin user (root, for example).
I check cocoa, but couldn't find any standard way to make something
like a 'get more right'='UNIX su' for my running application.
Do you know an applicable method?
_______________________________________________
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.
--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
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.