On Sat, 9 Feb 2019 22:31:14 +0100 Michael Biebl wrote: > Hi > > Am 09.02.19 um 10:39 schrieb Francesco Poli: > > > Could you please do me a favor? > > I would like you to read bug [#916753] log and then tell me what you > > think. Your insight might be useful to find a better solution. > > What kind of input do you need?
I would like some insight especially on [message #30], regarding the fact that runuser does something basically equivalent to what su does, and thus seems to be unfit to irreversibly drop root privileges, and regarding my search for a command that works like s6-setuidgid, but runs the given command inside the user's login shell (with all the environment that the user would get on a normal login). [message #30]: <https://bugs.debian.org/916753#30> > I guess I already mentioned the two alternatives (runuser/setpriv). [...] Maybe setpriv is equivalent to s6-setuidgid. If this is the case, it can be used as an alternative to s6-setuidgid. But I would like to have a command that runs a given command inside the regular user's login environment, as I said above. Do you know one such command? -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpZOMog3Kfx0.pgp
Description: PGP signature