From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: Problem with tasking when root
Date: 06 Aug 2004 06:28:41 -0400
Date: 2004-08-06T06:28:41-04:00 [thread overview]
Message-ID: <mailman.2.1091788128.414.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <26qsec.o711.ln@skymaster>
"Jean-Pierre Rosen" <rosen@adalog.fr> writes:
> "Colin Paul Gloster" <Colin_Paul_Gloster@ACM.org> a écrit dans le message 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 normal 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.
But that may lead to the same problem you are having.
--
-- Stephe
next prev parent reply other threads:[~2004-08-06 10:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 12:05 Problem with tasking when root Jean-Pierre Rosen
2004-08-04 12:15 ` Duncan Sands
[not found] ` <200408041415.06638.baldrick@free.fr>
2004-08-04 13:08 ` Jean-Pierre Rosen
[not found] ` <01b701c47a24$14619f90$f60206c0@VOYAGER>
2004-08-04 13:20 ` Duncan Sands
2004-08-04 18:53 ` Ludovic Brenta
2004-08-04 13:11 ` Marc A. Criley
2004-08-04 15:28 ` Jean-Pierre Rosen
2004-08-04 17:31 ` Marc A. Criley
2004-08-05 8:06 ` Jean-Pierre Rosen
2004-08-04 18:23 ` Colin Paul Gloster
2004-08-05 8:07 ` Jean-Pierre Rosen
2004-08-06 10:28 ` Stephen Leake [this message]
2004-08-06 4:54 ` Simon Wright
2004-08-06 7:58 ` Jean-Pierre Rosen
2004-08-06 17:42 ` Frode Tennebø
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox