From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17001 invoked by alias); 24 Jan 2008 09:18:32 -0000 Received: (qmail 16991 invoked by uid 22791); 24 Jan 2008 09:18:31 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jan 2008 09:18:12 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id A36C8304B7; Thu, 24 Jan 2008 10:18:09 +0100 (CET) From: Andreas Schwab To: "Michael Potter" Cc: "Mark Kettenis" , gdb@sourceware.org Subject: Re: unable to attach to setuid program that as reverted it privilege References: <2379dacc0801221159pfa2f3edh44c0b9c4ea6477ba@mail.gmail.com> <200801231752.m0NHqQPh001359@brahms.sibelius.xs4all.nl> <2379dacc0801231048l655f3463y748a41c7a4ab8b49@mail.gmail.com> <2379dacc0801232105r4afecc19r90a4a2f10f2d5054@mail.gmail.com> X-Yow: Are we THERE yet? My MIND is a SUBMARINE!! Date: Thu, 24 Jan 2008 09:18:00 -0000 In-Reply-To: <2379dacc0801232105r4afecc19r90a4a2f10f2d5054@mail.gmail.com> (Michael Potter's message of "Wed\, 23 Jan 2008 23\:05\:14 -0600") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00247.txt.bz2 "Michael Potter" writes: > It will not work to just use sudo in front of echo. The redirection must of course be performed as root. $ sudo sh -c 'echo 2 > /proc/sys/kernel/suid_dumpable' Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."