🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.os.linux
Article #196

Re: programma onder ander userID opstarten

#196
From: Wim Vandeputte
Date: Sat, 28 Nov 1998 00:00
25 lines
1451 bytes
Lieven De Samblanx ([lieven]@bwa.be) wrote:
: >Verkeerd. Suid werkt in alle richtingen maar is hier niet echt van
: >toepassing. Suid moet je enkel gebruiken als je van een minder
: >geprivileerde user naar een andere (eventueel hoger gepriviligeerde) user
: >wil switchen.
: 
: tiens, ik probeerde een scriptje :
: 
: -rwsr-xr-x   1 postgres postgres       64 Nov 26 20:41 startpostgres
: 
: 
: en in dat scriptje startpostgres staat :
: 
: #! /bin/sh
: whoami

er... SUID shell scripts are a big NO-NO
           ^^^^^^^^^^^^^

(Hangt eigenlijk ook af van je shell...)


*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*-=-*
Wim Vandeputte                                       --Comfort is Treachery--
                                              --So pound the nails in tight-- 
Technical Details
Message-ID: <73pvta$nj3$1@inf6serv.rug.ac.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <365fb578.9990563@wingate> <73kmcp$ejo$2@inf6serv.rug.ac.be> <36613139.1329496@wingate>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fb7d6,c2cdada1d00ac631
X-Google-Attributes: gidfb7d6,public
X-Google-Thread: 100a19,c2cdada1d00ac631
X-Google-Attributes: gid100a19,public
From: wvdputte@reptile.rug.ac.be (Wim Vandeputte)
Subject: Re: programma onder ander userID opstarten
Date: 1998/11/28
Message-ID: <73pvta$nj3$1@inf6serv.rug.ac.be>
X-Deja-AN: 416611933
References: <365fb578.9990563@wingate> <73kmcp$ejo$2@inf6serv.rug.ac.be> <36613139.1329496@wingate>
Followup-To: nl.comp.os.linux,be.comp.os.linux
Organization: Replicants Inc.
Newsgroups: nl.comp.os.linux,be.comp.os.linux