Resolved: Re: Help with suid (bash)
(Intentionally top posting)
Ok, thanks very much!
That resolves that -- I do have another way of doing it (the c helper
program), I just don't like it -- I'll probably continue to use that but think
about alternatives.
On Tuesday, May 10, 2022 07:58:39 AM Greg Wooledge wrote:
> The Linux kernel does not honor the setuid bit on a script. Any script.
> Anything that's executed via a shebang, rather than an ELF header.
>
> This is for security purposes, as there's some sort of race condition
> or something. I forget the exact details, but the point is, you can't
> do this. Find another solution.
Reply to: