Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-27-2004, 12:57 PM   #1
Registered: Oct 2003
Location: Kansas City, MO
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
SUID not working properly

I'm wanting users to be able to run a shell script as root. I did a chmod 4711 and then I tried to run the script as a normal user. When I try running the script it gives me a "permission denied" error. Why is this happening if I have the SUID set correctly? Thanks for the help.

- Brad
Old 02-27-2004, 01:42 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,397

Rep: Reputation: 163Reputation: 163
Try chmod 4755. I think you might need read permissions to execute a bash script.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd not working properly bwarsh Linux - Networking 1 08-15-2005 05:24 PM
X not working properly. MylesCLin Linux - Software 1 09-15-2004 11:46 AM
SUID file drops suid bit on append? c_coder Programming 1 03-12-2004 08:59 AM
Is Kppp working properly? gmichel Linux - Newbie 0 01-13-2004 05:38 AM
virtusertable not working properly Manuel-H Linux - General 0 04-30-2003 09:38 AM

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration