Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: duane@magma.uucp (Andrew Duane USG)
Subject: Re: Problems Launching programs in LADEBUG
Date: 20 Dec 2000 02:03:10 GMT	[thread overview]
Message-ID: <91p40v$86ns$1@lead.zk3.dec.com> (raw)
In-Reply-To: 3A401116.D1ECD373@compaq.com

This is in fact a known "security" issue with the /proc filesystem,
that prevents ladebug or dbx from working on setuid programs.

We are working on improving it, once we can sort out the security
ramifications of being able to use a debugger on a setuid program.

Is the program setuid to yourself? or someone else?

In article <3A401116.D1ECD373@compaq.com> Bevin R Brett <bevin.brett@compaq.com> writes:
>At first blush, I think we are looking at a security issue - allowing you
>to debug a +s program is probably a security hole, so the o/s is not
>allowing ladebug to control the process either with /proc or ptrace
>
>/Bevin
>Compaq ladebug team
>
>rslyon@my-deja.com wrote:
>> The newest version of labebug (.64) is great..  Except we are having
>> this ongoing problem, and haven't thought of a way past it yet..
>> When we try to launch a program in ladebug it gives the error(s):
>>
>> object file name: ./ts
>> Reading symbolic information ...done
>> Error: could not start debuggee
>> Could not start process for ./ts
>> No image loaded ... Recovering ...
>>
>> I have a feeling its do to after we compile an executable, we change
>> the owner, and set modes gu+s (so it is run as an alternate user with
>> their user and group id)..  When I reversed this, and ran it in
>> ladebug, it ran OK..
>>
>> Is this a bug, or is there anyway to get around this?  It is important
>> for us to keep gu+s on..

--

Andrew L. Duane (JOT-7)			duane@zk3.dec.com
Compaq Computer Corporation		(603)-884-1294
110 Spit Brook Road
M/S ZKO3-3/U14
Nashua, NH    03062-2698



  reply	other threads:[~2000-12-20  2:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-19 22:16 Problems Launching programs in LADEBUG rslyon
2000-12-20  1:53 ` Bevin R Brett
2000-12-20  2:03   ` Andrew Duane USG [this message]
2000-12-20  4:17     ` rslyon
2000-12-20  1:56 ` Bevin R Brett
2000-12-20  4:21   ` rslyon
2000-12-20 21:26   ` Andrew Duane USG
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox