From: Rob Landley <landley@webofficenow.com>
To: Doug McNaught <doug@wireboard.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: The SUID bit (was Re: [PATCH] more SAK stuff)
Date: Fri, 6 Jul 2001 11:44:21 -0400 [thread overview]
Message-ID: <01070611442100.00640@localhost.localdomain> (raw)
In-Reply-To: <200107060145.f661j5v74941@saturn.cs.uml.edu> <01070606044004.00596@localhost.localdomain> <m3u20q6q9j.fsf@belphigor.mcnaught.org>
In-Reply-To: <m3u20q6q9j.fsf@belphigor.mcnaught.org>
On Friday 06 July 2001 11:17, Doug McNaught wrote:
> Rob Landley <landley@webofficenow.com> writes:
> > Do you have a code example of how a program with euid root can change its
> > actual uid (which several programs check when they should be checking
> > euid, versions of dhcpcd before I complained about it case in point)?
>
> Ummm... setuid(2)?
>
> Works for me...
Albert Calahan cleared this up for me in email. I thought that euid 0
wouldn't let you actually setuid(0) for security reasons. (Otherwise the
distinction between the two of them seemed kind of pointless, which I must
admit I'm now officially confused about, and likely to spend an evening with
google over.)
Rob
next prev parent reply other threads:[~2001-07-06 22:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-02 12:16 [PATCH] more SAK stuff Andries.Brouwer
2001-07-02 12:33 ` Alan Cox
2001-07-02 19:10 ` Hua Zhong
2001-07-03 22:00 ` Rob Landley
2001-07-06 1:45 ` Albert D. Cahalan
2001-07-06 10:04 ` The SUID bit (was Re: [PATCH] more SAK stuff) Rob Landley
2001-07-06 15:17 ` Doug McNaught
2001-07-06 15:44 ` Rob Landley [this message]
2001-07-02 18:57 ` [PATCH] more SAK stuff Kain
2001-07-06 22:02 ` David Wagner
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=01070611442100.00640@localhost.localdomain \
--to=landley@webofficenow.com \
--cc=doug@wireboard.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®