sudo enlightenment...
John Schmitt
jschmitt at kealia.com
Thu Mar 13 01:22:21 UTC 2003
I had time yesterday to look at my sudo problem again, and my problem
was related to a couple of things. This is a summary of what I learned.
Thanks to Mark Mitchell and to `eichin at metacarta dot com` for
explaining the execv thing.
One of my problems was completely unrelated to Python or QMTest. I was
not aware that sudo does not propagate LD_LIBRARY_PATH. (If you're
interested, googling for 'sudo LD_LIBRARY_PATH' is the way to
enlightenment on that topic.)
After that I learned that os.exec* require that the 'arguments'
parameter contains a meaningful argv[0] equivalent. For more info, see
the following recipes:
http://aspn.activestate.com/ASPN/Mail/Message/1560744
http://aspn.activestate.com/ASPN/Mail/Message/1560804
http://aspn.activestate.com/ASPN/Mail/Message/python-list/758306
John
PS: On a completely different topic, I started getting spam shortly
after I started posting here. Yet, I don't recall seeing any posters
who spam-garble their email address in this list. Is everyone else
just dealing with it? Suggestions?
More information about the qmtest
mailing list