From: Andreas Schwab <schwab@suse.de>
To: "Michael Potter" <pottmi@gmail.com>
Cc: "Mark Kettenis" <mark.kettenis@xs4all.nl>, gdb@sourceware.org
Subject: Re: unable to attach to setuid program that as reverted it privilege
Date: Thu, 24 Jan 2008 09:18:00 -0000 [thread overview]
Message-ID: <jetzl3inu7.fsf@sykes.suse.de> (raw)
In-Reply-To: <2379dacc0801232105r4afecc19r90a4a2f10f2d5054@mail.gmail.com> (Michael Potter's message of "Wed\, 23 Jan 2008 23\:05\:14 -0600")
"Michael Potter" <pottmi@gmail.com> 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."
next prev parent reply other threads:[~2008-01-24 9:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 20:00 Michael Potter
2008-01-22 20:09 ` Daniel Jacobowitz
2008-01-22 20:24 ` Michael Potter
2008-01-23 17:52 ` Mark Kettenis
2008-01-23 18:48 ` Michael Potter
2008-01-23 20:26 ` Michael Potter
2008-01-23 20:42 ` Andreas Schwab
2008-01-24 5:05 ` Michael Potter
2008-01-24 9:18 ` Andreas Schwab [this message]
2008-04-14 13:46 Reynolds, Brandon
2008-04-14 16:32 ` Michael Potter
2008-04-14 16:45 ` Tavis Ormandy
2008-04-15 1:02 ` Reynolds, Brandon
2008-04-15 1:24 ` Michael Potter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jetzl3inu7.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=gdb@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=pottmi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox