🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #13528

Bit suid en ficheros bash

#13528
From: Willy
Date: Thu, 15 Feb 2001 18:08
10 lines
1203 bytes
Hola a todos

Simplemente que me gustar�a saber por qu� tan es peligroso ejecutar un script
bash como suid que hasta en linux est� prohibido, no se puede ejecutar un gui�n
bash suid, activar el bit suid en scripts no sirve para nada.

Luego hay que estar con el engorro de crearse un ejecutable suid en C que
ejecute el bash como root para ejecutar el script.

No veo cual es el posible peligro de seguridad.
Technical Details
Message-ID: <982260727.2146272237@news.inicia.es>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news.rediris.es!newsfeed.bt.es!212.14.96.163.MISMATCH!gratil.proel!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,d1aee4b1370dea34,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-02-15 10:31:35 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news.rediris.es!newsfeed.bt.es!212.14.96.163.MISMATCH!gratil.proel!not-for-mail
From: Willy <willywill[NO SPAM]@netscape.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Bit suid en ficheros bash
Followup-To: es.comp.os.linux.programacion
Date: Thu, 15 Feb 2001 19:08:47 +0100
Organization: -
Lines: 10
Message-ID: <982260727.2146272237@news.inicia.es>
NNTP-Posting-Host: 212.14.106.52
Mime-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Newsreader: KRN http://ultra7.unl.edu.ar