From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ed4b6964018509ca X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Problem with tasking when root Date: 06 Aug 2004 06:28:41 -0400 Organization: Cuivre, Argent, Or Message-ID: References: <26qsec.o711.ln@skymaster> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1091788129 89346 212.85.156.195 (6 Aug 2004 10:28:49 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 6 Aug 2004 10:28:49 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <26qsec.o711.ln@skymaster> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:2602 Date: 2004-08-06T06:28:41-04:00 "Jean-Pierre Rosen" writes: > "Colin Paul Gloster" a =E9crit dans le messa= ge de news:slrnch2acb.q7m.Colin_Paul_Gloster@camac.dcu.ie... > > In article news:mdjqec.g9d.ln@skymaster Jean-Pierre Rosen wrote: > > "[..] > > > > I have a distributed application that works OK [..] under Linux as a no= rmal user. > > When run as root, [..] > > > > [..]" > > > > I have no useful suggestion, but why do you need to run it as root? > Because it is a system utility that needs to perform command files > with the identity of the user of the command file. Only root can do > a set-user-id That's not strictly true. You can set the "set-uid" bit on an executable, and then it can change it's user id to root, even when run from a user account.=20 But that may lead to the same problem you are having. --=20 -- Stephe