[lkml]   [2003]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SUID root
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.

Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:46    [W:0.023 / U:2.816 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site