Re: Why are there 3 programs in s6 that do the same thing?

From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups_at_NTLWorld.COM>
Date: Thu, 31 Dec 2020 22:59:05 +0000

Laurent Bercot:

> [...] direct adaptations from daemontools' setuidgid and envuidgid [...]

There is a similar history, and a similar spread of tools in the nosh
toolset for roughly the same reasons. There was a need for a split
toolset where one could look up things in the system account database,
do stuff (in particular stuff that obscured access to the system account
database), and then later change the process user/group IDs. There was
also a need for tools that did not manipulate the user ID but only the
group IDs. Hence envgid, envuidgid, getuidgid, setgid-fromenv, and
setuidgid-fromenv; with setuidgid effectively being envuidgid followed
by setuidgid-fromenv (except that it does not touch the environment).

Uwe Ohse did the first setuidgid-fromenv tool, I believe, as a patch to
daemontools back in 2001. Several people have developed tools in this way.



Received on Thu Dec 31 2020 - 22:59:05 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC