UNIX credential passing
Sebastian 'lunar' Wiesner
basti.wiesner at gmx.net
Fri May 30 10:42:00 EDT 2008
[ Kris Kennaway <kris at FreeBSD.org> ]
> I want to make use of UNIX credential passing on a local domain socket
> to verify the identity of a user connecting to a privileged service.
> However it looks like the socket module doesn't implement
> sendmsg/recvmsg wrappers, and I can't find another module that does this
> either. Is there something I have missed?
http://pyside.blogspot.com/2007/07/unix-socket-credentials-with-python.html
Illustrates, how to use socket credentials without sendmsg/recvmsg and so
without any need for patching.
--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
More information about the Python-list
mailing list