Bug 4995 - bash shell scripts do not appear to run suid
bash shell scripts do not appear to run suid
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-09-08 14:58 EDT by dmartin
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-09-09 10:20:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dmartin 1999-09-08 14:58:58 EDT
Have need to allow setuid scripts.  They do not appear to be
working with RH 6.0 despite the file having the permissions
and ownership:

-rwsr-xr-x   1 root     root

and the first line is


(also tried /bin/bash.. no difference)
Comment 1 Bill Nottingham 1999-09-09 10:20:59 EDT
Setuid scripts will not work on linux. It's a security hole.

You could always write a short setuid wrapper program in C....

Note You need to log in before you can comment on or make changes to this bug.