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


Groups > linux.debian.user > #248069

Re: Help with suid (bash)

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Help with suid (bash)
Date 2022-05-10 14:30 +0200
Message-ID <Elxa1-exHF-5@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


[Multipart message — attachments visible in raw view] - view raw

On Tue, May 10, 2022 at 07:58:39AM -0400, Greg Wooledge wrote:
> On Tue, May 10, 2022 at 07:50:18AM -0400, rhkramer@gmail.com wrote:
> > Aside: even though this is not a Debian specific question, I often use debian-
> > user as my first resource in asking Linux questions.
> 
> It's Linux-specific, though.

I poked around a bit. NetBSD seems to honour it... but grudgingly. Here's
from their sh(1) man page [1]

   BUGS
      Setuid shell scripts should be avoided at all costs, as they are a
      significant security risk.

"At all costs": that's a tall order :-)

Dunno what the other BSDs say. As to the other Unices... which
Unices?

;-)

Cheers

[1] https://man.netbsd.org/sh.1
-- 
t

Back to linux.debian.user | Previous | Next — Previous 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