From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,4f6c98b6260a0c2c X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-19 20:30:12 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: rslyon@my-deja.com Newsgroups: comp.unix.tru64 Subject: Re: Problems Launching programs in LADEBUG Date: Wed, 20 Dec 2000 04:17:19 GMT Organization: Deja.com Message-ID: <91pbsb$66a$1@nnrp1.deja.com> References: <91omoh$l91$1@nnrp1.deja.com> <3A401116.D1ECD373@compaq.com> <91p40v$86ns$1@lead.zk3.dec.com> NNTP-Posting-Host: 24.141.43.85 X-Article-Creation-Date: Wed Dec 20 04:17:19 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) X-Http-Proxy: 1.1 x51.deja.com:80 (Squid/1.1.22) for client 24.141.43.85 X-MyDeja-Info: XMYDJUIDrslyon Xref: supernews.google.com comp.unix.tru64:1264 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 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/