[Pythonmac-SIG] Authentication via python?
vivacarlie at gmail.com
Tue Oct 28 16:22:22 CET 2008
On Tue, Oct 28, 2008 at 8:38 AM, Benjamin Schollnick <
bschollnick at ur.rochester.edu> wrote:
> I'm working on some time machine scripting... In a gist, there is a
> .Backup.log file that I want to access via readline & python....
> >From the MOSX gui, it appears some of the files require root access (eg.
> Authentication dialog pops up). Now, I am using the applet maker to
> compile the python to a GUI stub, so I can't SUDO the python script... Is
> there some method that I can use to authenticate via the python script
> I'm in the middle of a google search on this, but I am having no luck at
> refining my search phrase currently (Macintosh python authenticate)...
> - Benjamin
im not sure if python's cocoa services allow access to the "Authorization
services API " through python. how good is your C?
if you can find a way around it, u need this:
shouldn't this script startout privlaged or otherwise may be exploited? you
can sudo gui apps from the commandline or use
the mac privlage elevation program,
"lalalalala! it's not broken because I can use it"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pythonmac-SIG