[PyKDE] Run program as root
Jim Bublitz
jbublitz at nwinternet.com
Wed Feb 15 17:18:47 GMT 2006
On Wednesday 15 February 2006 03:30, Tina Isaksen wrote:
> Tina Isaksen wrote:
> >> Try running kdesu "ps auxww" to get a nice password request UI..
> >>
> >> Pete
> >
> > Oh for crying out loud! Of course...
> >
> > "I wish I could see the woods but all those darn trees are in the
> > way..." :P
> >
> > Thanks Pete!
> >
> > Tina
>
> I was too quick it seems, or it still is too many trees obscuring the
> woods.
>
> I set optimistically out to use 'kdesu' but that was easier said than
> done. I looked at the PyKDE API reference and there it is actually
> listed a 'kdesu' module, but the link gives a 404. Also the 'kdesu'
> seems to be nonexcistent in PyKDE??
>
> So I guess I'm left with using a shell script or something to start my
> main program through 'kdesu'...
>
> Or have I missed something essential... again? ;)
There *was* a kdesu module in PyKDE - I'm not supporting it any longer. When I
finally got around to trying to use it to build examples, it turned out to be
not particularly useful, and there are alternatives such as using su/kdesu or
the Python os calls for changing uid/gid and related stuff.
Jim
More information about the PyQt
mailing list