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 18:12:24 PST Path: supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!cyclone.bc.net!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!pa.dec.com!ajo.zk3.dec.com!magma!duane From: duane@magma.uucp (Andrew Duane USG) Newsgroups: comp.unix.tru64 Subject: Re: Problems Launching programs in LADEBUG Date: 20 Dec 2000 02:03:10 GMT Organization: Digital Equipment Corporation Message-ID: <91p40v$86ns$1@lead.zk3.dec.com> References: <91omoh$l91$1@nnrp1.deja.com> <3A401116.D1ECD373@compaq.com> NNTP-Posting-Host: magma.zk3.dec.com X-Trace: lead.zk3.dec.com 977277791 269052 16.140.48.243 (20 Dec 2000 02:03:10 GMT) X-Complaints-To: iass@ajo.zk3.dec.com NNTP-Posting-Date: 20 Dec 2000 02:03:10 GMT Xref: supernews.google.com comp.unix.tru64:1263 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