Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have made a script tc.sh which executes some commands of iptables. Now I want that other users also should be able to execute this script, so I set ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    5

    question regarding suid


    Hi

    I have made a script tc.sh which executes some commands of iptables. Now I want that other users also should be able to execute this script, so I set the suid using chmod 4755. But even after setting the suid, other users still cannot execute the script. Is it the problem with iptables or suid????

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,904
    It could be permissions on the directory where the file is located. If the users cannot read from the directory, then the file will not be available to them to run.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •