[Pythonmac-SIG] Authentication via python?
Kevin Walzer
kw at codebykevin.com
Tue Oct 28 22:45:28 CET 2008
Benjamin Schollnick wrote:
> Folks,
>
> 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 internally?
>
> 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
Take a look at Bob Ippolito's authorization package:
http://www.undefined.org/python/#Authorization
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the Pythonmac-SIG
mailing list