Bug 4995 - bash shell scripts do not appear to run suid
Summary: bash shell scripts do not appear to run suid
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash   
(Show other bugs)
Version: 6.0
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-09-08 18:58 UTC by dmartin
Modified: 2008-05-01 15:37 UTC (History)
0 users

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


Attachments (Terms of Use)

Description dmartin 1999-09-08 18:58:58 UTC
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

#!/bin/sh

(also tried /bin/bash.. no difference)

Comment 1 Bill Nottingham 1999-09-09 14:20:59 UTC
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.