Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, Do I need to be root to set the setuid bit on an executable that I am the owner of? Thanks, Allasso...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    19

    root to set setuid bit


    Hello,

    Do I need to be root to set the setuid bit on an executable that I am the owner of?

    Thanks, Allasso

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    19
    The answer is no, I can set the suid bit on files I am the owner. When I posted, I was having some other issues that made it appear that I couldn't, and so I asked. I didn't know until now that simply running ls -l will show an "s" in the execute column if it is set. But I see it is getting set, even for shell scripts, at least on the server I am using.

Posting Permissions

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