Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #248068

Resolved: Re: Help with suid (bash)

From rhkramer@gmail.com
Newsgroups linux.debian.user
Subject Resolved: Re: Help with suid (bash)
Date 2022-05-10 14:30 +0200
Message-ID <Elxa1-exHF-1@gated-at.bofh.it> (permalink)
References <ElwGZ-exjv-3@gated-at.bofh.it> <ElwGZ-exjv-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


(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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Help with suid (bash) Greg Wooledge <greg@wooledge.org> - 2022-05-10 14:00 +0200
  Resolved: Re: Help with suid (bash) rhkramer@gmail.com - 2022-05-10 14:30 +0200
    Followup: Re: Resolved: Re: Help with suid (bash) rhkramer@gmail.com - 2022-05-10 16:10 +0200
    Re: Resolved: Re: Help with suid (bash) Stefan Monnier <monnier@iro.umontreal.ca> - 2022-05-10 16:50 +0200
  Re: Help with suid (bash) <tomas@tuxteam.de> - 2022-05-10 14:30 +0200

csiph-web