On Mon, 2023-10-30 at 03:09 -0700, ToddAndMargo via users wrote:
On 10/30/23 01:41, Jeffrey Walton wrote:
> On Mon, Oct 30, 2023 at 4:36 AM Roberto Ragusa
> <mail(a)robertoragusa.it> wrote:
> >
> > On 10/30/23 05:06, Jeffrey Walton wrote:
> >
> > > You can't do it in a wrapper script because you can't setuid on
> > > scripts.
> > But you can enable sudo for a single script.
> > (this was the intended way to use sudo, as far as I know)
>
> I may be crossing wires, but I thought OP already ruined out sudo,
> doas and friends.
>
> Jeff
I do not want to have to enter root's password to get
the information.
I looks like I am going to have to hold my nose
and use sudo
This is exactly what sudo is for. Not sure why you're trying to avoid
it.
poc