[sudo-users] Adding support to sudo to open a file with elevated privileges

Piotr Dobrogost 2021 at p.dobrogost.net
Sun Sep 5 09:50:46 MDT 2021


On Sun, Sep 5, 2021 at 1:51 AM Matthew.Stier at fujitsu.com
<Matthew.Stier at fujitsu.com> wrote:
>
> I think that the biggest kickback you will get, is that it violates the Unix philosophy.

Ah, well.
Then I guess the Unix way of solving this would be to add yet another
binary (there's already cat and tee) which would basically just open a
file and write standard input to it. It could be called "open" :) and
basically be slimmed down  (cripled some would say?) version of tee
(without the tee's feature of writing standard input to standard
output).


Best regards,
Piotr Dobrogost


More information about the sudo-users mailing list