Mailing List Archive

[PATCH] Auth with SO_PEERCRED over AF_UNIX
Hi!

This patch uses SO_PEERCRED to authenticate uses over AF_UNIX when the
access is set to allowed.

http://www.acc.umu.se/~glance/conserver/conserver-8.1.17-so-peercreed.patch

The only questionable thing this patch does it that it allows root to
impersonate any other user. This is mainly for us to get a sane
usersname in the who output and in the logfiles, so we can see who did
what and not just that root did it.

The linenumbers in the patch is when applying it after the
power-control-patch but its trivial to make it apply without it.

//Anton

--
Anton Lundin +46702-161604