Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: rslyon@my-deja.com
Subject: Re: Problems Launching programs in LADEBUG
Date: Wed, 20 Dec 2000 04:17:19 GMT	[thread overview]
Message-ID: <91pbsb$66a$1@nnrp1.deja.com> (raw)
In-Reply-To: 91p40v$86ns$1@lead.zk3.dec.com

It's set to someone else..  (i.e. the project owner)

It also caused problems with shared libraries on execution (which is
expected)..  We ended up using -rpath with the linker so we could
actually run an oracle app   (Oracle on osf51's main link object is
shared, unlike others where it's static)..

Is there a temp workaround that we can use (and still acheive the same
result?)  We have a deadline coming fast..


Richard



In article <91p40v$86ns$1@lead.zk3.dec.com>,
  duane@magma.uucp (Andrew Duane USG) wrote:
> 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
>
>


Sent via Deja.com
http://www.deja.com/


  reply	other threads:[~2000-12-20  4:17 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
2000-12-20  4:17     ` rslyon [this message]
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