aio-libs / aio-libs/aiosmtpd

Selectively intuitive setuid behavior

Open
#275 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
373
Forks
105
Avg merge
4m
Merged PRs (30d)
2

Description

In my mediocre, pre-'90s universe, we use `setuid` to ascertain that _we may drop privileges_ **after** binding the socket.
This is necessary, as _one does not simply_ bind a port below 1025 without doing so as root.
_In fact, that is the sole reason to run such stuff as root._

However, when set (left) as such, the software attempts to drop its privileges _as soon as it evaluates the arguments_.

To me, this makes somewhat limited sense.

Am I missing something?
I would be glad to receive some pointers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.