From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Daniel Jacobowitz <dan@debian.org>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: SUID root
Date: Wed, 16 Jul 2003 10:42:03 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.53.0307161040570.26405@chaos> (raw)
In-Reply-To: <20030716142249.GA22473@nevyn.them.org>
On Wed, 16 Jul 2003, Daniel Jacobowitz wrote:
> On Wed, Jul 16, 2003 at 10:19:14AM -0400, Richard B. Johnson wrote:
> >
> > It appears as though SUID root programs don't work on
> > linux 2.4.20, 2.4.21, or 2.4.22-pre6, or at least what
> > used to work no longer does.
> >
> > One program tries to execute iopl(3). In the event that
> > it fails, it tries to set UID/GID to root after saving
> > the previous, then tries again.
> >
> > The program exists in /usr/bin, properly owned by root. It
> > is set SUID, 4755, and otherwise works. Anybody have any
> > clues? Do SUID programs have to be re-written to use some
> > other mechanism? I need to have a user-mode program get
> > access to an otherwise unused printer port. It's a shame
> > to write a module just for this.
>
> You're stracing it. Stracing prevents setuid from occurring; it used
> to just prevent the exec.
>
Okay. Thanks, you are right. It is actually working I guess.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Note 96.3% of all statistics are fiction.
prev parent reply other threads:[~2003-07-16 14:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-16 14:19 Richard B. Johnson
2003-07-16 14:22 ` Daniel Jacobowitz
2003-07-16 14:42 ` Richard B. Johnson [this message]
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=Pine.LNX.4.53.0307161040570.26405@chaos \
--to=root@chaos.analogic.com \
--cc=dan@debian.org \
--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®