Re: (Hopefully) quick policy question

Jore <[email protected]> Wed, 27 Sep 2023 00:59:34 +1000
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
On 27/9/23 12:41 am, Mihai Moldovan wrote:
> * On 9/26/23 16:32, Jore wrote:
>> But then I also note sudo 1.9.9 doesn't support regex? In that case...
>> what might be some suggestions to do this sort of thing sensibly? ;)
> Using a wrapper script that takes user input verbatim, sanitizes it and passes
> it to the actual script, comes to mind.
>
> Mihai


Hi there,

Thanks for the fast reply.

Okay, to consider that approach, do you have any resources for what 
might be good start for that? As it stands, I don't really know how to 
approach calling a bash script inside a bash script as root safely.

And obviously keeping things as simple as possible for systems admin 
would be great.

Thanks,
Jore


____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users