Re: Adding support to sudo to open a file with elevated privileges

Shawn McMahon <[email protected]> Sun, 5 Sep 2021 12:45:54 -0400
Newsgroups gmane.comp.tools.sudo.user
Message-ID <CAKDhi0Tx40tysNVxhBU-HeLXNdWCm5B9wHxgiv5B9Q8RiQoDWw@mail.gmail.com>
On Sun, Sep 5, 2021 at 11:58 AM Piotr Dobrogost <[email protected]>
wrote:

> On Sun, Sep 5, 2021 at 1:51 AM [email protected]
> <[email protected]> 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
>

 I think the Unix way would be to write a script and run the script.
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users