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: Stefan Pantke <email@hidden>
- Date: Mon, 23 Jun 2003 08:30:18 +0200
I'm currently developing a system administration program. Due to the
'low level' nature
of the app, I need to switch (while running) to get more rights.
Thus, the app is only usefull for power-users or system administrators.
The app will wrap around several core unix applications a nice/pure
coca/aqua GUI
and perform features, which I could not find in normal Mac OS X GUI
mode.
Am Montag, 23.06.03 um 08:22 Uhr schrieb Jeff Harrell:
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.